How peakthedev-art/workspace works
WorkSpace is a small FastAPI service described as a local spacecraft access-control API. The only implemented user-facing behavior shown is a root health check that returns a greeting; access-control modules are empty. A separate module configures a PostgreSQL SQLAlchemy engine, but the shown API does not use it. The hardware directories are undocumented here, so their role and connections are omitted.
Main entry points: main.py FastAPI app · database.py DB engine setup
Components 5
API runtime
- FastAPI app
app/main.py - Health check
app/main.py
Database setup
- DB engine setup
app/database.py
Other components
- HTTP client
- PostgreSQL
Connections 3
- HTTP client → FastAPI app: sends request
app/main.py - FastAPI app → Health check: registers route
app/main.py - DB engine setup → PostgreSQL: configures connection
app/database.py