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

CommandDescription
pnpm devStart dev server (Turbopack)
pnpm buildProduction build
pnpm typecheckTypeScript check
pnpm lintESLint
pnpm testRun unit tests (Vitest)
pnpm test:e2eRun E2E tests (Playwright)
pnpm db:studioOpen Prisma Studio
pnpm email:devPreview email templates
pnpm stripe:listenForward Stripe webhooks locally