Architecture
A NestJS backend (PostgreSQL) and a Next.js 16 frontend, sharing one REST + OpenAPI contract. The backend owns data and business logic. The frontend owns UI, sessions, and magic-link email. They coordinate over HTTP: no shared database client, no shared process state.
Pages
- High-Level Overview
- How the Two Projects Connect
- Module Structure
- REST Surface
- Worker Concurrency & Recovery
- What Ghost Deletion Erases
Related
- Home - Docs index
- Auth Flow - Full authentication walkthrough
- Adding a Module - Step-by-step REST + zod walkthrough
- Email - Email service details
- Environment Variables - Configuration reference