Docs
Developer setup
Developer setup
Clone the repo, configure environment variables, run migrations, and start the app locally.
Prerequisites
- Node.js 18+ (see
.nvmrcif you usenvm) - PostgreSQL connection string (e.g. Neon) for Prisma
- Google OAuth credentials (for NextAuth sign-in)
- Resend API key (for transactional email, if enabled)
Install
npm installCopy .env.example to .env.local and fill in DATABASE_URL, AUTH_SECRET, GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET, RESEND_API_KEY, and NEXT_PUBLIC_APP_URL.
Database
npx prisma migrate deploy
npx prisma generateOptional seed data for demo users and sandbox entities:
npm run db:seedDevelopment
npm run devOpen http://localhost:3000. Marketing routes are public; participant, regulator, and digital-sandbox routes require sign-in with the appropriate role.
Production build
npm run lint
npm run build
npm run start