Full-stack Cracked.dev v1 built with Next.js 14, Express, PostgreSQL, and Nodemailer.
- Install dependencies:
pnpm install- Copy env examples and fill in real values:
cp apps/api/.env.example apps/api/.env
cp apps/web/.env.local.example apps/web/.env.local- Run migrations against your hosted PostgreSQL database:
pnpm db:migrate- Seed the first superadmin:
pnpm db:seed- Start both apps:
pnpm devThe web app runs on http://localhost:3000; the API runs on http://localhost:4000.