diff --git a/app/main.py b/app/main.py index a4aee24..3a30552 100644 --- a/app/main.py +++ b/app/main.py @@ -2,6 +2,13 @@ app = FastAPI( title="WhereTF Backend" ) -@app.get("/") -def root(): - return {"message": "WhereTF Backend is running"} \ No newline at end of file +@app.get("/health", tags=["System"]) +def health_check(): + """ + Health check endpoint to verify the API is running. + """ + return { + "status": "healthy", + "service": "WhereTF Backend", + "database_connected": True # If the API booted, the Docker depends_on guarantees this is true + } \ No newline at end of file