Repository Architecture
This page maps source folders to runtime behavior so contributors can find code faster.
Top-Level Layout
- Cargo.toml (workspace root + binary)
- Vite React app (map + admin UI)
- Nextra docs site (this documentation)
- Dockerfile (multi-stage client + server + OR-Tools build)
- docker-compose.yml
Runtime Request Flow
Rust Workspace Crates
server: binary entrypoint and workspace root.server/api: HTTP layer, auth, route wiring, request/response shaping.server/algorithms: clustering, routing, bootstrap logic and plugin execution.server/model: SeaORM models/query helpers and scanner-specific data access.server/migration: database schema migrations.server/nominatim: geosearch client abstraction.server/macros: shared proc macros.
The public API contract lives under /api/v1/*. Admin UI helpers use
/config/* and /internal/*.
Last updated on