Prefer the big picture first? Skim Architecture and
the Tech Stack, then come back here to run it.
Prerequisites
Setup
1
Install dependencies
apps/web, apps/cms, docs, and the shared
packages/*.2
Create your environment files
Copy the templates and fill in whatever keys you have.
3
Run the app you need
- Customer
- Admin
- CMS
- Docs
4
Verify the quality gates
Repository layout
apps
web
admin
cms
invoicing
packages
db — Drizzle schema + Neon client + queries
business — pure business logic (no I/O)
types — shared Zod schemas + TS types
errors — AppError + error-code registry
logger — structured JSON logger
docs
Next up: read Conventions for the coding standards every
change is expected to follow, then the Git Workflow for
how branches flow
dev → test → pprd → prod.