BomLoom

Development setup

Run BomLoom locally.

Prerequisites

  • Node.js 24 or later
  • pnpm (version pinned in package.json, enable it with corepack enable)
  • Docker (for PostgreSQL)

First start

pnpm install
cp apps/backend/.env.example apps/backend/.env
pnpm dev

pnpm dev starts PostgreSQL via docker/compose.yaml, builds the API package and runs backend and frontend in watch mode:

The documentation runs separately with pnpm --filter @bomloom/docs dev on http://localhost:3001.

Common tasks

CommandPurpose
pnpm lintLint everything with oxlint (type-aware).
pnpm formatFormat everything with oxfmt.
pnpm typecheckType-check all packages.
pnpm testRun the tests.
pnpm api:generateRegenerate types and Zod schemas after editing openapi.yaml.
pnpm db:generateCreate a migration after editing the Drizzle schema.

On this page