B&J CRM platform — PLANNED stack (not yet built)

The CRM is a separate application from the marketing site. The case study can describe the data model and architecture decisions, but cannot claim the CRM is live.

Layer Choice
Database PostgreSQL 16
ORM Prisma
Framework Next.js + API Routes
Auth NextAuth.js
Styling Tailwind (CRM plan pre-dates the shadcn move on the marketing site)
Web server Nginx
SSL Let's Encrypt
Hosting Self-hosted VPS

[Verified — crm_project_plan.docx]

See B&J data model — first-class entities, including TANKS (the most quotable architecture decision) for the schema entities.