File tree Expand file tree Collapse file tree 3 files changed +9
-17
lines changed
Expand file tree Collapse file tree 3 files changed +9
-17
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1818from app .services import true_false_service
1919
2020logger = logging .getLogger (__name__ )
21- router = APIRouter (tags = ["tutor" ])
2221
22+ router = APIRouter (prefix = "/api/v1/tutor" , tags = ["tutor" ])
23+
24+
25+ # ── Health Check ───────────────────────────────────────────────────────────────
2326
2427@router .get ("/health" )
25- async def health ():
26- return {"status" : "ok" }
28+ async def health_check ():
29+ """Health check endpoint for Render monitoring."""
30+ return {"status" : "healthy" , "service" : "aitutor-backend" }
2731
2832
2933@router .options ("/learn" )
Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ services:
33 name : aitutor-backend
44 runtime : python
55 plan : free
6- buildCommand : " cd src/ backend && pip install -r requirements.txt"
7- startCommand : " cd src/ backend && python -m uvicorn app.main:app --host 0.0.0.0 --port $PORT"
6+ buildCommand : " cd backend && pip install -r requirements.txt"
7+ startCommand : " cd backend && python -m uvicorn app.main:app --host 0.0.0.0 --port $PORT"
88 envVars :
99 - key : OPENROUTER_API_KEY
1010 sync : false
You can’t perform that action at this time.
0 commit comments