Run commands from the repo root.

Install dependencies

pnpm --dir backend install

Start services

pnpm --dir backend run start:api
pnpm --dir backend run start:api:dev
pnpm --dir backend run start:worker
pnpm --dir backend run start:worker:dev

Build and verification

pnpm --dir backend run build
pnpm --dir backend run build:api
pnpm --dir backend run build:worker
pnpm --dir backend run typecheck
pnpm --dir backend run lint
pnpm --dir backend run test
pnpm --dir backend run verify

Prisma

pnpm --dir backend run prisma:generate
pnpm --dir backend run prisma:migrate:dev
pnpm --dir backend run prisma:migrate

Formatting and commits

pnpm --dir backend run format
pnpm --dir backend run format:check
pnpm --dir backend run commit