The full-featured Next.js starter CLI built for serious developers by Chillenow
Codelords Stack helps you bootstrap modern web apps using Next.js, Prisma, PostgreSQL, and Tailwind CSS — all configurable via an interactive CLI.
Use it to kick off production-ready projects in seconds.
- ⚡️ Next.js 16 with App Router
- 🎨 Tailwind CSS pre-configured
- 🧬 Prisma + PostgreSQL database setup
- 🔐 Optional Better Auth (Email/Password login)
- 💳 Optional LemonSqueezy integration (WIP 🚧)
- ✅
/statuspage to verify feature status - 🛠️ CLI with
npx codelords-stackcommand
Use npx to instantly create your project:
npx codelords-stackThen follow the interactive prompts:
- 📦 Name your project
- 🔐 Select optional features
- 🏗 Scaffolds everything automatically
After generation:
Prisma is configured to use PostgreSQL. Your connection string is located in .env:
DATABASE_URL="postgresql://USER:PASSWORD@localhost:5432/postgres?schema=database_name_db"
pnpm prisma generate
pnpm prisma db pushYou can find the Prisma schema at prisma/schema.prisma.
pnpm prisma migrate dev --name name_of_migration; pnpm prisma migrate reset pnpm prisma db pushcd your-project-name
pnpm devOpen http://localhost:3000 in your browser.
.
├── app/ # App router structure
│ └── status/ # Status page (DB check)
├── lib/
│ └── prisma.ts # Dynamic Prisma client
├── prisma/
│ └── schema.prisma # Prisma DB schema
├── .env # Created from .env.example
├── tailwind.config.ts
├── tsconfig.json
└── ...
Visit http://localhost:3000/status to check:
- ✅ PostgreSQL database connectivity
- (Coming soon) other feature statuses
You can toggle optional integrations during CLI setup:
-
Better Auth
Adds full authentication flow with email/password login, registration, and session management. Includes customizable user roles (default:user,admin). -
LemonSqueezy
Adds premium feature monetization with payment hooks.
You can always add these manually later, or modify your template.
Roles are stored as strings for flexibility. Default roles: user, admin
To customize roles in your generated project:
- Edit
prisma/schema.prisma- change therolefield default value - Edit
src/lib/auth.ts- update theadditionalFields.roleconfiguration - Run
pnpm prisma generate && pnpm prisma db push
You can run the CLI directly with:
npx codelords-stackCodelords Stack is crafted by Chillenow to make professional-grade web app creation accessible and fast.
We use this stack in production for our own apps — and now, you can too.
💬 Follow us on Instagram or X for updates.
💸 Wanna tip? you can via Github Sponsors Github Sponsors