Directory Structure
This repo is a pnpm/turbo monorepo for the PPP web app, backend APIs, shared packages, and mobile app.
.
├── api/ # Backend services (core + PPP)
├── apps/ # Main web app workspace(s)
├── docs/ # Repository documentation
├── instances/ # Instance-specific frontend apps (PPP lives here)
├── mobile/ # Mobile apps (Expo)
├── packages/ # Core/shared packages (UI, utils, schema, etc.)
├── packages-shared/ # Instance-specific shared packages
├── scripts/ # Repo automation and local tooling
├── patches/ # pnpm patch files
├── Dockerfile # Root Docker build entry
├── README.md # Repo overview + doc pointers
├── pnpm-workspace.yaml # Workspace definition
├── pnpm-lock.yaml # Lockfile
├── turbo.json # Turborepo pipeline config
├── package.json # Root scripts and workspace metadata
└── playbook and infra files # buildspec.yml, embrace.yml, customHttp.yml, etc.Key workspaces
api/
├── backend-core/ # Core API platform (shared services, infra, docs)
└── backend-ppp/ # PPP-specific API (tRPC, services, scripts)
apps/
└── main/ # Main web app package (builds core modules)
instances/
└── ppp/ # PPP web instance (Vite app + landing site)
packages/
└── ... # Shared packages used across apps and APIs
packages-shared/
└── ppp/ # PPP-specific shared package(s)
mobile/
└── ppp/ # PPP mobile app (Expo)
docs/
└── ... # Development, testing, standards, and guidesNotable generated or large directories
node_modules/(root and package-level) are installed dependencies.build/anddist/directories under packages are build artifacts.