Files
AICyclingCoach/backend/app/routes/health.py
2025-09-08 13:29:43 -07:00

9 lines
220 B
Python

from fastapi import APIRouter
from app.services.health_monitor import HealthMonitor
router = APIRouter()
monitor = HealthMonitor()
@router.get("/health")
async def get_health():
return monitor.check_system_health()