Project Structure
Last reviewed: 2026-05-13
Maintained by: Engineering
This page is the short orientation map for the Zgrid monorepo.
Workspace layout
apps/api: Express API, auth, business rules, data access, and integration boundariesapps/back-office:super_adminweb workspaceapps/manager-desk: organization-scoped manager workspaceapps/zgrid-mobile: Expo mobile app for tenant and technician flowsapps/docs: Docusaurus shell for the internal docs portalpackages/api-client: shared typed API client and contractspackages/validation: shared validation utilitiesdatabase: SQL migrations, schema snapshot, and bootstrap artifactsdocs: canonical markdown source for engineering documentation
Working model
- The repo uses
pnpmworkspaces withapps/*andpackages/*. - Most common team commands are exposed from the root
package.json. - App-specific dependencies should stay in the workspace that uses them.
- Shared contracts and reusable utilities should move into
packages/*instead of being duplicated across apps.
For dependency and script rules, see ../99-reference/monorepo-standards.md.