feat: endpoint GET /api/health + tests

Implémentation TDD : test écrit en premier (phase rouge), puis
app.main, app.api.health et app.api.media créés pour le faire passer.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-24 04:59:36 +02:00
co-authored by Claude Sonnet 4.6
parent be5c34e4f7
commit 94b971cdf3
5 changed files with 42 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
from fastapi import APIRouter
router = APIRouter()
@router.get("/health")
async def health():
return {"status": "ok"}
+3
View File
@@ -0,0 +1,3 @@
from fastapi import APIRouter
router = APIRouter()