From 17bb7587d629a95c8c120ee635927ec2f089fe5f Mon Sep 17 00:00:00 2001 From: sowmya Date: Sun, 15 Feb 2026 23:19:45 +0530 Subject: [PATCH] added api-backend --- app/main.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/main.py b/app/main.py index 1750389..917f328 100644 --- a/app/main.py +++ b/app/main.py @@ -78,6 +78,12 @@ def create_task(task: TaskCreate): except Exception as e: raise HTTPException(status_code=500, detail=str(e)) +app.get("/about",response_class=PlainTextResponse) +def about_backend(): + return "This is all backend" + + + @app.get("/about",response_class=PlainTextResponse) def about_backend(): return "This is all backend"