Local Development

evergreenLast update on Sep 1, 2026
Download .md

Local Development

Current POC

Run the existing Flutter proof of concept:

cd reference/mobile_app_demo
flutter pub get
flutter run
flutter analyze

Use a physical Android device for camera and ML Kit testing. An emulator can exercise UI paths but is not enough for camera-heavy flows.

Target Full-System Command

Add one root command when backend, web, mobile, contracts, and infrastructure exist:

make dev

It should:

  1. Start Docker infrastructure.
  2. Wait for health checks.
  3. Run migrations.
  4. Start Spring Boot.
  5. Start Next.js.
  6. Print Flutter connection instructions.

Local Addresses

ServiceAddress
Spring Boothttp://localhost:8080
Next.jshttp://localhost:3000
PostgreSQLlocalhost:5432
API docshttp://localhost:8080/swagger-ui

Flutter Backend URLs

RuntimeURL
Android emulatorhttp://10.0.2.2:8080
iOS simulatorhttp://localhost:8080
Physical phonehttp://<developer-machine-LAN-IP>:8080
Productionbuild-time configuration, never hard-coded

Planned Infrastructure

Use Docker Compose for shared dependencies only:

  • PostgreSQL;
  • Redis only if needed;
  • Mailpit for development email;
  • MinIO only if object storage is needed;
  • optional local identity provider.