t_6549bb2b: Create admin frontend SPA with full CRUD, dashboard, activity, export

This commit is contained in:
2026-05-21 17:18:36 -04:00
commit c4e45c2569
5 changed files with 3637 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
__pycache__/
*.pyc
assets.db
uploads/
+1587
View File
File diff suppressed because it is too large Load Diff
+4
View File
@@ -0,0 +1,4 @@
fastapi
uvicorn[standard]
pytest
httpx
+13
View File
@@ -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
View File
File diff suppressed because it is too large Load Diff