From 74468282470a354e3f08ca7cd93dc8202a68320f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Trkan?= Date: Wed, 24 Sep 2025 00:27:12 +0200 Subject: [PATCH] feat(infrastructure): add / endpoint for liveness check --- backend/app/app.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/backend/app/app.py b/backend/app/app.py index eda7e7f..0e4c45b 100644 --- a/backend/app/app.py +++ b/backend/app/app.py @@ -44,6 +44,12 @@ app.include_router( ) +# Liveness/root endpoint +@app.get("/", include_in_schema=False) +async def root(): + return {"status": "ok"} + + @app.get("/authenticated-route") async def authenticated_route(user: User = Depends(current_active_verified_user)): return {"message": f"Hello {user.email}!"}