mirror of
https://github.com/Dasemu/skipredictor.git
synced 2026-11-26 15:26:15 +00:00
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:
1 parent
c8188e3995
commit
9d97afe538
14 files changed
+1631
-10
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user