High-level implementation planning docs live in docs/, starting with docs/00-index.md.
Repository-specific Codex instructions live in AGENTS.md.
Monorepo structure:
apps/api- Fastify + Zod backend modular monolith scaffold.apps/web- React + Vite web client scaffold.apps/desktop- Electron desktop wrapper scaffold.packages/shared- shared contracts and schemas.infra/docker- local Postgres, Redis, and observability compose stack (Prometheus, Loki, Grafana).
- Run
run-local.batfrom repo root. - Open web at
http://localhost:5173. - Use the in-app guest login and load player state.
- Stop everything with
stop-local.bat.
Android emulator:
- Run
run-android-emulator.batto launch the default AVD, orrun-android-emulator.bat <AVD_NAME>to launch a specific one. - In the emulator, use
http://10.0.2.2:5173for the web app and point frontend API/WebSocket env vars at10.0.2.2. - Use
run-local-android.batto start the local stack with emulator-safe web env values.
See: