t_6549bb2b: Create admin frontend SPA with full CRUD, dashboard, activity, export
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
__pycache__/
|
||||
*.pyc
|
||||
assets.db
|
||||
uploads/
|
||||
+1587
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,4 @@
|
||||
fastapi
|
||||
uvicorn[standard]
|
||||
pytest
|
||||
httpx
|
||||
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/env bash
|
||||
# Run the admin server — uses same DB as main canteen-asset-tracker
|
||||
# CANTEEN_DB_PATH defaults to ../canteen-asset-tracker/assets.db
|
||||
set -euo pipefail
|
||||
|
||||
PORT="${PORT:-8900}"
|
||||
HOST="${HOST:-0.0.0.0}"
|
||||
|
||||
exec python -m uvicorn admin_server:app \
|
||||
--host "$HOST" \
|
||||
--port "$PORT" \
|
||||
--reload \
|
||||
--log-level info
|
||||
+2029
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user