Draft
svc-sim — Sim Backend
Clientnovameraactive
Node.js + TypeScript API service for the Novamera Simulation tool — manages auth, projects, and scenario data for the Surgical Mining OS simulation workspace. Acts as the identity provider (JWT issuer) for the labelling backend.
flowchart LR
FE[fe-sim
React SPA] --> API[svc-sim
Node.js · Fargate]
LBL[svc-borehole-lbl] -->|display-name lookups| API
API --> DB[(PostgreSQL)]
API --> S3[(S3 / MinIO)]
style API fill:#EDEDFF,stroke:#3B54F7
- Auth: JWT issuer — tokens consumed by svc-borehole-lbl for RBAC;
svc-simis the canonical auth + projects source. - Local dev:
just dev-localspins PostgreSQL + MinIO locally (no AWS required);just devconnects to real AWS via SSO. - Hot reload:
tsx watchrestarts on any.tsedit. - API surface: Swagger UI at
/api-docs; healthcheck at/healthcheck. - Built on: the ecs-service pattern. IaC:
novamera.infra-iac · _blueprints/svc-sim. - Envs:
dev1.novamera.io/sim/api·dev2.proplabs.io/sim/api·prd1.novamera.io/sim/api.