Getting started
From clone to a running API in a few minutes.
Prerequisites
- Rust (stable, edition 2024)
- Docker with Compose
just
First run
just dev brings up only the infrastructure set — Postgres (behind the PgDog pooler),
three Redis instances (session / cache / lock), NATS with JetStream, and Meilisearch —
so the two binaries run natively for fast iteration.
In debug builds, Swagger UI is served at /docs and the OpenAPI spec at /swagger.json.
Everyday commands
First admin
The application deliberately has no first-admin bootstrap path — roles are only ever granted by an existing admin. For local development, insert the role directly:
The server reads roles per request, so the grant takes effect immediately.