This is a Next.js project bootstrapped with create-next-app.
This repo uses pnpm (see packageManager in package.json).
Create your local env file and install dependencies:
pnpm env:create
pnpm installpnpm env:create copies .env.example to .env (if missing) and sets NEXTAUTH_SECRET to a random value. If you prefer to edit by hand, you can cp .env.example .env and set NEXTAUTH_SECRET (for example with openssl rand -base64 32).
- Default local mode uses SQLite (
DB_PROVIDER=sqliteandDATABASE_URL=file:./dev.db) pnpm devauto-runs a local SQLite schema sync (prisma db push) before starting Next.js- Seed local data with:
pnpm seed- PostgreSQL is canonical for migrations and production:
- author migrations with
DATABASE_URL=...and runpnpm db:migrate:dev - deploy migrations in production with
DATABASE_URL=...and runpnpm migrate:deploy - these scripts use a Postgres schema wrapper internally, while local runtime remains SQLite by default
- author migrations with
Run the development server:
pnpm devOpen http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.
This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.