Developer Docs
Local Setup
Install, run and check the monorepo locally.Prerequisites
Use Node 20 or newer and pnpm 9.
corepack enable
corepack prepare pnpm@9 --activate
pnpm installEnvironment
Copy the example environment into a root .env file:
make setupThe API uses port 4000. The main web app uses port 3000. The docs app uses port 3001.
Run the app locally
Start MongoDB and Redis:
pnpm dev:infraRun the API, worker and web app:
pnpm devOpen:
- web app:
http://localhost:3000 - API health:
http://localhost:4000/health - docs:
pnpm dev:docs, thenhttp://localhost:3001
Check your work
Use these before opening a pull request:
pnpm typecheck
pnpm docs:checkdocs:check makes sure the generated API/model/contract reference is current and that every route has a JSDoc block for the docs.