Install

Local development and deployment entry points

The hub workspace is split into the public site, the public API, and the background worker. The site stays presentation-only and reads search and service detail data from the hub API.

Workspace commands

pnpm install
pnpm dev:api
pnpm dev:site
pnpm dev:worker

Validation chain

pnpm db:validate
pnpm format:check
pnpm lint
pnpm typecheck
pnpm test

Cloudflare bindings

Bootstrap remote staging or production resources with `pnpm production:bootstrap -- --environment staging --account-id --mode apply`, then render deploy configs with `pnpm production:wrangler:render -- --component hub-api --environment staging --output .tmp/hub-api.staging.json`. Validate worker secrets before rollout with `pnpm production:secrets:validate -- --component hub-api --environment staging --file `. The site still deploys from the adapter-generated `apps/site/dist/server/wrangler.json` artifact and defaults to `https://api.teqi.ai`; set `HUB_API_ORIGIN` only when the API lives elsewhere.