Initial commit with Phase 0 Scaffolding
This commit is contained in:
parent
b393607602
commit
c545d4b17d
51 changed files with 7064 additions and 4 deletions
13
backend/app/api/v1/health.py
Normal file
13
backend/app/api/v1/health.py
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
"""Health check endpoint — unauthenticated."""
|
||||
|
||||
from fastapi import APIRouter
|
||||
|
||||
from app.config import settings
|
||||
|
||||
router = APIRouter(tags=["health"])
|
||||
|
||||
|
||||
@router.get("/health")
|
||||
def health_check() -> dict[str, str]:
|
||||
"""Return service health status and version."""
|
||||
return {"status": "ok", "version": settings.APP_VERSION}
|
||||
Loading…
Add table
Add a link
Reference in a new issue