This repo uses a justfile (https://github.com/casey/just) to provide a consistent set of local development commands.
justinstalled and on your PATH- Docker (with
docker composev2) - Rust toolchain (for API development)
- Node.js + pnpm (for frontend development)
Some just recipes will offer to install missing tools (for example Node/pnpm/Docker) and will fail if you choose not to install them.
List all available recipes:
just --listGet help (same as just --list in this repo):
just
just helpThis will:
- create
api/.envfromapi/env.exampleif missing - start the Postgres container
- wait for Postgres to be ready
- prompt you to run migrations
just dev-setupIf you skipped migrations (or want to re-run them later):
just migrateRuns the API using cargo watch:
just devNotes:
api/.envis created automatically (fromapi/env.example) if missing.- The API reads config from
api/.env(via dotenv).
just webNotes:
front/.envis created automatically (fromfront/.env.example) if missing.- The dev server is started with
--host 0.0.0.0 --port 5555.
Bring up the full stack with Docker Compose (build + run containers):
just dev-testTear it down (including volumes):
just dev-test-downStop and remove Docker Compose containers and delete their volumes (destructive for local DB data):
just db-down- API env file:
api/.env(copied fromapi/env.example) - Frontend env file:
front/.env(copied fromfront/.env.example)
just migrate uses DATABASE_URL if it is already set in your environment; otherwise it builds a DATABASE_URL from values in api/.env.