Busflow Docs

Internal documentation portal

Skip to content

CLI Cheatsheet

For the complete list of scripts, see the root package.json.

First Time Setup

  1. pnpm install — Install all dependencies
  2. pnpm docker:up — Start Postgres, Nhost, Mailhog
  3. pnpm dev:stack — Apply Hasura migrations and metadata
  4. pnpm dev — Boot all apps via Turborepo

Daily Development

  • pnpm dev — Start everything
  • pnpm dev:workspace — Workspace app only (faster)
  • pnpm codegen:watch — Keep GraphQL types in sync

Before Opening a PR

  • pnpm lint — Biome + ESLint
  • pnpm test — Vitest unit tests
  • pnpm docs:lint — Validate doc frontmatter and tags

Debugging & Reset

  • pnpm docker:logs — Tail local service logs
  • pnpm docker:reset — Nuke local DB volumes and start fresh
  • pnpm hasura:console — Open the Hasura console (via CLI tunnel)

Internal documentation — Busflow