Concept Flow - Health check endpoints
Start FastAPI app
Define /health endpoint
Receive HTTP GET request at /health
Run health check logic
Return JSON response with status
Client receives status response
The app starts, defines a /health endpoint, listens for GET requests, runs checks, and returns a status JSON.