FastAPI backend (Python 3.11, httpx for SignalR/GraphQL — no MSSQL ODBC), shares kitchen_db directly. React/TS/Vite fullscreen board frontend. Backend: auth.py (APP_SLUG=kds, SimpleNamespace), main.py (4 KDS migrations, SignalR start/stop), kds.py router, models (kds/settings/resos — read from kitchen_db), signalr_listener.py (backoff pre-existing), kds_graphql.py, database.py. Requirements stripped to ~9 packages; image ~400 MB lighter than kitchen (no MSSQL ODBC layer). Frontend: AuthGate (app=kds), single fullscreen route, dark board theme. KDS.tsx URL prefix patched (/api/kds/ → /kds/api/kds/), recipe images cross-app (/kitchen/api/recipes/). nginx: 5 blocks with SSE proxy headers on /kds/api/ block. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
19 lines
448 B
Text
19 lines
448 B
Text
# Web framework
|
|
fastapi==0.109.0
|
|
uvicorn[standard]==0.27.0
|
|
python-multipart==0.0.6
|
|
|
|
# Database — connects to kitchen_db (shared schema; KDS adds its own tables/columns)
|
|
sqlalchemy==2.0.25
|
|
asyncpg==0.29.0
|
|
|
|
# Authentication — python-jose verifies the central hnf_session JWT
|
|
python-jose[cryptography]==3.3.0
|
|
|
|
# HTTP — SignalR WebSocket upgrade + SambaPOS GraphQL
|
|
httpx==0.27.0
|
|
|
|
# Utilities
|
|
pydantic==2.5.3
|
|
python-dotenv==1.0.0
|
|
aiofiles==23.2.1
|