Commit Graph
3 Commits
Author SHA1 Message Date
stefankoelle 911924d627 fix: replace deprecated datetime.utcnow() with datetime.now(timezone.utc) 2026-08-01 16:42:46 +02:00
stefankoelle 3b1801634c fix: Error Handling + Context Manager für DB-Verbindungen
- try/finally für Connection/Cleanup in allen Endpunkten
- fetch_events() Helper-Funktion reduziert Code-Duplikation
- Exception Logging bei DB-Fehlern
- HTTPException 500 bei Datenbankfehlern
2026-08-01 16:20:32 +02:00
stefankoelle b30c02beb8 feat: REST API + Web-Frontend für Kalenderübersicht
- FastAPI Backend mit /api/events, /api/events/{id}, /api/health Endpoints
- Optionale Suche nach Event-Titel (Query Parameter ?search=...)
- Jinja2 Web-Frontend auf / mit Suchfeld
- Shared DB Connection Module (api/database.py)
- Docker Compose: calendar-api Service hinzugefügt
- Sync.py refactored: nutzt shared database.py
2026-08-01 16:12:07 +02:00