DOCS / GETTING STARTED
Project layout
The LaunchCrate repository is a Cargo workspace with one crate (api)
next to a Vite app (web), and the API and the SPA deploy together as a
single Docker image. The annotated trees show what each folder holds,
down to api/src and web/src.
.
├── api/ # the Axum API (Cargo package "api")
│ ├── migrations/ # sqlx migrations: 0001_... the kit's, 2026..._ yours
│ ├── content/blog/ # blog posts (Markdown, compiled into the binary)
│ ├── locales/ # Fluent catalogs for API errors and emails
│ ├── .sqlx/ # committed offline query cache (cargo sqlx prepare)
│ ├── openapi.json # committed OpenAPI spec (CI fails if it drifts)
│ ├── src/ # see below
│ └── tests/ # integration tests, one file per area
├── web/ # the React SPA
│ └── src/ # see below
├── e2e/ # Playwright browser tests (just e2e)
│ ├── tests/ # one spec per area
│ ├── support/ # shared helpers
│ ├── scripts/ # start-api.sh: the API on a fresh saas_e2e database
│ └── playwright.config.ts
├── scripts/ # new-module.sh (just new-module), check-docs.sh (just docs-check), build-llms.sh (just docs)
├── docs/ # this book (mdBook)
├── justfile # every development command
├── Dockerfile # SPA + API in one runtime image
├── docker-compose.yml # dev Postgres (+ optional Jaeger, MinIO)
├── AGENTS.md # instructions for AI coding agents (CLAUDE.md imports it)
├── docker-compose.prod.yml # single-VPS deploy: app + Postgres + Caddy
├── Caddyfile # TLS termination for the VPS deploy
├── fly.toml # Fly.io deploy
├── .env.example # development configuration template
└── .env.prod.example # VPS configuration template[ full guide ]
The rest of this guide comes with the repo.
- The API (api/src)
- The SPA (web/src)
- Tests (api/tests, e2e/)