Repository
Three applications and their documentation share one repository.
| Directory | Who uses it |
|---|---|
app | Guest and owner |
admin | Operator |
api | Both interfaces and the agent |
docs | Product documentation, VitePress |
Local addresses come from make ports; startup rules and allowed overrides are in AGENTS.md. Do not copy a second port table here: checkout configuration can change. The API stays on port 3333 inside the production container, where nginx expects it; that port is not exposed directly.
Bun installs dependencies, with a bun.lock in each directory. The API, customer app and admin processes run on Node. Documentation uses VitePress. Nest and Playwright have not been moved to Bun as a runtime.
To start locally, run make setup, then make dev from the root. The first command exits. The second stays in the terminal and starts all four services. Orca waits only for setup. Details for agents are in AGENTS.md.
API and interface layers follow CleanSlice: the domain does not know HTTP, and data does not know the domain. Prisma schema fragments live beside slices and are assembled before migration. Do not edit the assembled file by hand.
The interfaces use Nuxt without server rendering and become static assets in production. Their generated API client is committed because the OpenAPI specification is not available beside the image build.