Installation
Get NextGenKit running locally in under 5 minutes.
1. Clone the Repository
git clone https://github.com/your-org/nextgenkit.git
cd nextgenkit
2. Install Dependencies
pnpm install
3. Set Up Environment Variables
cp .env.example .env.local
Open .env.local and fill in your credentials. See the Environment Variables page for details on each value.
4. Push Database Schema
pnpm db:push
This creates all tables in your PostgreSQL database. For production, use pnpm db:migrate instead.
5. (Optional) Seed Demo Data
pnpm db:seed
6. Start the Dev Server
pnpm dev
Open http://localhost:3000 — you should see the landing page.
Available Scripts
| Command | Description |
|---|---|
pnpm dev | Start dev server (Turbopack) |
pnpm build | Production build |
pnpm typecheck | TypeScript check |
pnpm lint | ESLint |
pnpm test | Run unit tests (Vitest) |
pnpm test:e2e | Run E2E tests (Playwright) |
pnpm db:studio | Open Prisma Studio |
pnpm email:dev | Preview email templates |
pnpm stripe:listen | Forward Stripe webhooks locally |