diff --git a/backend/main.py b/backend/main.py new file mode 100644 index 0000000..c75295f --- /dev/null +++ b/backend/main.py @@ -0,0 +1,15 @@ +from fastapi import FastAPI + +app = FastAPI() + +@app.get("/") +def home(): + return { + "message": "Hello" + } + +@app.get("/health") +def health(): + return { + "status":"ok" + } \ No newline at end of file diff --git a/backend/requirements.txt b/backend/requirements.txt new file mode 100644 index 0000000..2ef6c2c --- /dev/null +++ b/backend/requirements.txt @@ -0,0 +1,13 @@ +annotated-doc==0.0.4 +annotated-types==0.7.0 +anyio==4.14.1 +click==8.4.2 +fastapi==0.138.1 +h11==0.16.0 +idna==3.18 +pydantic==2.13.4 +pydantic_core==2.46.4 +starlette==1.3.1 +typing-inspection==0.4.2 +typing_extensions==4.15.0 +uvicorn==0.49.0