diff --git a/main.py b/main.py index 885dca6..d2b6c30 100644 --- a/main.py +++ b/main.py @@ -29,5 +29,9 @@ app.include_router(todos.router, prefix="/api") def root(): return {"message": "Welcome to Todo API"} +@app.get("/health") +def health(): + return {"status": "healthy"} + if __name__ == "__main__": uvicorn.run("main:app", host="0.0.0.0", port=8000, reload=True) \ No newline at end of file