New Project — Tạo dự án mới
Scaffold dự án SaaS hoàn chỉnh với monorepo structure, CI/CD pipelines, database setup, authentication, và monitoring.Cú pháp
Luồng hoạt động
Bước 1: Chọn tech stack
Interactive wizard: frontend framework, backend, database, auth method.
Default: Next.js + NestJS + PostgreSQL + JWT (theo CLAUDE.md).
Bước 3: Setup infrastructure
- Docker Compose (PostgreSQL + Redis)
- GitHub Actions (lint, test, build)
- Environment templates (.env.example)
Bước 4: Bootstrap code
- Auth module (JWT + refresh tokens)
- Database schema + first migration
- API health endpoint
- Frontend layout + auth pages
Output Structure
So sánh: /new-project vs /bootstrap
| Tiêu chí | /new-project | /bootstrap |
|---|---|---|
| Audience | PM/Lead — high-level setup | Dev — hands-on scaffold |
| Customization | Interactive wizard | Direct implementation |
| Output | Full monorepo structure | Any project type |
| Includes CI/CD | Có (GitHub Actions) | Tùy chọn |
| Includes docs | Có (README, CLAUDE.md) | Có |
Khi nào dùng / không dùng
| Dùng | Không dùng |
|---|---|
| Bắt đầu product mới | Thêm feature vào project có sẵn |
| Cần monorepo SaaS structure | Project nhỏ, single-page app |
| PM setup project cho team | Dev muốn scaffold nhanh (dùng /bootstrap) |