Getting Started
Run the API and the web app on your machine against containers for everything else.
Prerequisites
Section titled “Prerequisites”- Docker with Compose
- .NET 11 SDK
- Node.js 24 and pnpm
- just
- uv:
just hooks-installandjust workflow-auditrun their tools throughuvx - jq and yq:
just upuses them to render local config
-
Clone the repository and install the JavaScript dependencies:
Terminal window git clone https://github.com/nevalenti/TestCraft.gitcd TestCraftpnpm install -
Start the containers (Postgres, Redis, RabbitMQ, MinIO, Keycloak, Mailpit, GlitchTip and the observability stack):
Terminal window just upThe first run creates
.env,apps/web/.envande2e/.envfrom their.env.example. Later runs add any keys the examples gained since. -
Run the API and the web app, both in one terminal:
Terminal window just devThe API applies migrations and seeds sample data before it starts, then restarts when its code changes. To run them separately, use
just api-serveandjust web-dev. -
Open http://localhost:3000 and sign in as
e2e@testcraft.prowith the passworde2e-test-password.
Local services
Section titled “Local services”| Service | URL | Notes |
|---|---|---|
| Web | http://localhost:3000 | |
| API | http://localhost:5000 | |
| API reference | http://localhost:5000/api/docs | |
| Keycloak | http://localhost:8080 | KEYCLOAK_ADMIN from .env |
| Mailpit | http://localhost:8025 | every email the stack sends |
| Grafana | http://localhost:3001 | logs, traces and metrics |
| GlitchTip | http://localhost:8001 | error tracking |
| MinIO console | http://localhost:9001 | attachments and imported reports |
| RabbitMQ | http://localhost:15672 | |
| pgweb | http://localhost:8081 | browse the Postgres databases |
Everyday commands
Section titled “Everyday commands”just down # stop the containers, keep their datajust nuke # stop the containers and delete every volume (asks first)just api-db-reset # drop and recreate the dev database, then migratejust api-migration AddX # add an EF Core migrationjust codegen # regenerate @testcraft/types and the web SDK after changing apps/Api/openapi/contract/v1.json
just api-test-unit # .NET unit and architecture tests, no Docker neededjust api-test # every .NET test project, including integration testspnpm --filter testcraft-web test
just lintjust formatTo run the Helm chart the way production does, see Local cluster.