Getting Started
From clone to a running local dev server in five minutes.
Prerequisites
- Node.js 20+
- pnpm 10 (
npm i -g pnpm) - A Neon PostgreSQL project (free tier works)
Setup
pnpm install
cp .env.example .env
Fill in the two required values in .env:
DATABASE_URL— from your Neon dashboard (pooled connection)BETTER_AUTH_SECRET— generate withopenssl rand -base64 32
Initialize the database
pnpm db:push # create all tables
pnpm seed # create admin + demo users
Run
pnpm dev
Open http://localhost:3000. Sign in as admin@example.com / ChangeMe123! (or the values you set in ADMIN_EMAIL / ADMIN_PASSWORD).
What works out of the box
Everything degrades gracefully — missing keys simply hide the feature:
- Email/password auth (email verification off until Resend is configured)
- Credits system with the demo chat
- Pricing page, blog, cases, docs
- Admin dashboard at
/admin/users