docs: update API, deployment, and lessons for the new backend

- Updated API_SPEC.md with JWT auth and storage schema.
- Updated DEPLOYMENT.md for the new uvicorn-based setup.
- Added LESSONS.md pattern for worktree management.
- Included new README, TODO, and OPERATIONS files.
This commit is contained in:
dasemu committed 2026-03-13 10:01:48 +01:00
1 parent b5b62e582e
commit e952cea417
7 files changed
+281 -279

No files matched your search

+30
View File
@@ -0,0 +1,30 @@
# SkiPredictor TODO & Roadmap
This file tracks the current state of the project and planned enhancements.
## 🟢 In Progress / High Priority
- [ ] **Capacitor Mobile App**: Build a hybrid mobile application (iOS/Android) using the FastAPI backend.
- [ ] **FastAPI Backend Expansion**: Add more robust user management and potentially a web dashboard.
- [ ] **Advanced Crowd Analysis**: Refine the YOLO-based detection and integrate it more deeply into the hybrid predictor.
## 🟡 Planned Features
- [ ] **Push Notifications**: Integrate Firebase or similar for real-time station status alerts in the mobile app.
- [ ] **User Preferences**: Allow users to "favorite" stations and set custom notification thresholds (e.g., "Alert me if km > 15").
- [ ] **Historical Analytics Dashboard**: A web interface to visualize 15+ years of station performance and weather trends.
- [ ] **Expanded Station Support**: Add more stations in Northern Spain (e.g., Leitariegos, Alto Campoo).
## 🔵 Ongoing Maintenance
- [ ] **Model Retraining**: Monitor weekly retraining performance and tune hyperparameters.
- [ ] **Data Quality**: Continuously verify scraping reliability from Infonieve and Open-Meteo.
- [ ] **Documentation**: Keep the API spec and operations guide updated as features are added.
## ⚪ Completed Milestones
- [x] **SQLite Migration**: Moved from CSV/JSON file-based storage to a unified SQLite database.
- [x] **JWT Authentication**: Implemented secure API access with registration and login.
- [x] **Hybrid Predictor**: Combined rule-based logic with ML models for high accuracy.
- [x] **Weighted Training**: Prioritized recent historical data to account for methodological changes.
- [x] **Telegram Bot Subprocess**: Integrated the bot directly into the FastAPI lifespan.