promptlooper/backend
John Lightner 15ca2c922a MAESTRO: Create backend/main.py with FastAPI app, CORS, health check, WebSocket, and router mounting
FastAPI application with:
- CORS middleware (permissive for dev)
- /health endpoint checking DB and Redis connectivity
- /ws WebSocket endpoint with ConnectionManager for real-time updates
- Async lifespan hooks for DB engine and Redis init/teardown
- get_db dependency for session management
- Dynamic router mounting that silently skips missing router modules
- 10 tests covering all endpoints and utilities
2026-04-07 01:56:40 -05:00
..
engine MAESTRO: Create full directory structure with placeholder files 2026-04-07 01:40:27 -05:00
mcp MAESTRO: Create full directory structure with placeholder files 2026-04-07 01:40:27 -05:00
routers MAESTRO: Create full directory structure with placeholder files 2026-04-07 01:40:27 -05:00
tests MAESTRO: Create backend/main.py with FastAPI app, CORS, health check, WebSocket, and router mounting 2026-04-07 01:56:40 -05:00
websocket MAESTRO: Create full directory structure with placeholder files 2026-04-07 01:40:27 -05:00
__init__.py MAESTRO: Create full directory structure with placeholder files 2026-04-07 01:40:27 -05:00
config.py MAESTRO: Create backend/config.py with Pydantic Settings and SQLite/in-process fallback 2026-04-07 01:46:30 -05:00
main.py MAESTRO: Create backend/main.py with FastAPI app, CORS, health check, WebSocket, and router mounting 2026-04-07 01:56:40 -05:00
models.py MAESTRO: Create backend/models.py with all 8 SQLAlchemy ORM models from spec 2026-04-07 01:49:10 -05:00
requirements.txt MAESTRO: Create multi-stage Dockerfile, nginx.conf, and frontend/backend scaffolding 2026-04-07 01:44:52 -05:00
schemas.py MAESTRO: Create backend/schemas.py with all Pydantic request/response schemas 2026-04-07 01:54:02 -05:00