From 7ea4a0687ce1a6ab63a12ce95d9c30c6cdc7c6d2 Mon Sep 17 00:00:00 2001 From: Pranayrebeyro Date: Wed, 25 Feb 2026 20:11:15 +0530 Subject: [PATCH 1/3] Added Api backend --- app/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main.py b/app/main.py index 1750389..63bc467 100644 --- a/app/main.py +++ b/app/main.py @@ -78,7 +78,7 @@ def create_task(task: TaskCreate): except Exception as e: raise HTTPException(status_code=500, detail=str(e)) -@app.get("/about",response_class=PlainTextResponse) +@app.get("/about", response_class=PlainTextResponse) def about_backend(): return "This is all backend" From d84822650f8e2f75f6f9187be2ddf9782d07084c Mon Sep 17 00:00:00 2001 From: Pranayrebeyro Date: Wed, 25 Feb 2026 20:17:37 +0530 Subject: [PATCH 2/3] Added API backend --- app/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main.py b/app/main.py index 63bc467..1750389 100644 --- a/app/main.py +++ b/app/main.py @@ -78,7 +78,7 @@ def create_task(task: TaskCreate): except Exception as e: raise HTTPException(status_code=500, detail=str(e)) -@app.get("/about", response_class=PlainTextResponse) +@app.get("/about",response_class=PlainTextResponse) def about_backend(): return "This is all backend" From bcbab983901a1867e34668a2a43b3c9b4edf573a Mon Sep 17 00:00:00 2001 From: Pranayrebeyro Date: Wed, 25 Feb 2026 20:24:19 +0530 Subject: [PATCH 3/3] Added API backend --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d24c74b..969462c 100644 --- a/README.md +++ b/README.md @@ -126,4 +126,6 @@ uv run pytest uv run python .github/check.py ``` -Note: Follow these instructions to set up and run the application successfully. \ No newline at end of file +Note: Follow these instructions to set up and run the application successfully. + +I successfully added a api in a backend \ No newline at end of file