feat(api): add FastAPI backend with JWT authentication

REST API serving forecast data with HS256 JWT auth (14-day tokens).
Public: /health, /auth/register, /auth/login.
Protected: /stations, /forecast, /forecast/history, /forecast/{id}, /status.
Includes APScheduler for periodic forecasts and Telegram bot subprocess.
This commit is contained in:
dasemu committed 2026-03-13 09:36:18 +01:00
1 parent c8188e3995
commit 9d97afe538
14 files changed
+1631 -10

No files matched your search

+6
View File
@@ -11,3 +11,9 @@ schedule>=1.2.0
joblib>=1.3.0
ultralytics>=8.0.0
opencv-python-headless>=4.8.0
fastapi>=0.115.0
uvicorn[standard]>=0.30.0
apscheduler>=3.10.0
PyJWT>=2.8.0
passlib[bcrypt]>=1.7.4
python-multipart>=0.0.9