From 5b8c256b80d7928bd5b5035dd2092390344605c3 Mon Sep 17 00:00:00 2001 From: liberty-rising Date: Fri, 5 Jan 2024 23:02:36 +0100 Subject: [PATCH] create test endpoint --- backend/main.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/backend/main.py b/backend/main.py index 95451b3..09d9307 100644 --- a/backend/main.py +++ b/backend/main.py @@ -29,6 +29,11 @@ async def shutdown_event(): pass +@app.get("/") +def read_root(): + return {"Hello": "World"} + + # Registering the startup and shutdown events app.router.on_startup.append(startup_event) app.router.on_shutdown.append(shutdown_event)