BMS/backend/api/routes/health.py
2026-03-19 11:32:17 +00:00

13 lines
281 B
Python

from fastapi import APIRouter
from datetime import datetime, timezone
router = APIRouter()
@router.get("/health")
async def health_check():
return {
"status": "ok",
"service": "DemoBMS API",
"timestamp": datetime.now(timezone.utc).isoformat(),
}