A multi-tenant vertical SaaS for Tunisian SMB owners: one login, many businesses, each business type getting only the tools it needs, all on one shared core.
This is a from-zero rewrite. Start with CLAUDE.md — the living project
memory, kept current with every architectural decision — and the full document set under
docs/. The previous codebase is not extended here; it is audited in
docs/00-legacy-audit.md for product intent only.
pnpm install
docker compose up -d # Postgres, with the three roles from docs/04-database.md
cp .env.example .env
pnpm db:migrate # ALWAYS migrate deploy — never `prisma db push`, see docs/04-database.md
pnpm dev- Web: http://localhost:3000
- Storybook (design system, docs/09-design-system.md):
pnpm storybook
pnpm verify # typecheck, lint, unit tests, build — same gates as CI (docs/11-quality.md)See docs/12-conventions.md for the full folder layout and
docs/02-architecture.md §8 for the domain module map.