# Architecture ## Monorepo Structure - `apps/web`: public app - `apps/admin`: admin app - `packages/db`: prisma + data access - `packages/content`: shared schemas and domain contracts - `packages/ui`: shared UI layer - `packages/i18n`: shared locale definitions and i18n helpers - `packages/config`: shared TS config ## Design Principles - Shared contracts before feature implementation - RBAC and CRUD base as prerequisites for MVP1 feature work - Keep admin and public responsibilities clearly separated - Public routing is path-stable; locale is resolved via `next-intl` middleware + cookie ## Pending Documentation See documentation tasks in `TODO.md` under the Documentation track.