You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-**Hub API (deployed)**: REST API Lambda behind API Gateway for programmatic access (devices, CLI, satellites). Uses `api_app.py` via `lambda_handler.py`.
34
+
-**GUI (local only)**: FastAPI app with Jinja2 templates + HTMX, runs on `localhost:8084`. Uses `app.py` which imports `api_app` and adds GUI routes.
35
+
- GUI authenticates via Cognito Hosted UI and connects directly to deployed AWS resources (Aurora Data API, Cognito, S3, SQS).
36
+
-**Never deploy GUI to Lambda** — keep GUI code out of `api_app.py`.
37
+
38
+
## Logging & determinism
39
+
- Prefer explicit configuration (flags/config) over implicit shell state.
40
+
- When wrapping external tools (AWS/SAM), log the exact command being run (unless quiet mode).
# ALWAYS RUN THIS: source marvain_activate when in the repo root directory and when starting a new terminal so you have the cli tools available. AND try to source .env as well, if present.
0 commit comments