@codecont/starter
v1.0.2
Published
A powerful CLI tool to scaffold a production-ready Next.js 16 application with a robust stack pre-configured. Stop wasting time on setup and start building your product.
Readme
Next.js 16 SaaS Starter CLI
A powerful CLI tool to scaffold a production-ready Next.js 16 application with a robust stack pre-configured. Stop wasting time on setup and start building your product.
🚀 The Stack
This CLI generates a project with the following technologies pre-installed and configured:
- Framework: Next.js 16 (App Router)
- Language: TypeScript
- Styling: Tailwind CSS + Shadcn/UI
- Database (ORM): Prisma (PostgreSQL ready)
- Authentication: Clerk
- Testing: Cypress (E2E)
📦 Usage
You don't need to install anything globally. Just run the following command with npx:
npx @codecont/starter my-new-project
Or simply run it without arguments to start the interactive mode:
npx @codecont/starter
🛠️ Post-Installation Steps
Once the CLI finishes generating your project, follow these steps to get up and running:
- Navigate to your project:
cd my-new-project- Environment Variables:
Rename .env.example to .env and fill in your keys:
DATABASE_URL(Your PostgreSQL connection string)NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY(From Clerk Dashboard)CLERK_SECRET_KEY(From Clerk Dashboard)
- Database Setup:
Push the schema to your database:
npx prisma db push- Start the development server:
npm run dev📂 Project Structure
The generated project follows the standard Next.js App Router structure with a clean organization:
.
├── src/
│ ├── app/ # Next.js App Router pages
│ ├── components/ # React components (includes Shadcn UI)
│ ├── lib/ # Utilities
│ └── middleware.ts # Clerk Authentication Middleware
├── prisma/
│ └── schema.prisma # Database schema
├── cypress/ # E2E Tests
├── public/ # Static assets
└── ...config files
📄 License
MIT
