From b7aab396266b0d3baf632946639be363fb6d0d63 Mon Sep 17 00:00:00 2001 From: AndreaLeylavergne <119771926+AndreaLeylavergne@users.noreply.github.com> Date: Fri, 23 Feb 2024 05:12:11 +0100 Subject: [PATCH] first commit --- main.py | 7 +++++++ requirements.txt | 3 +++ 2 files changed, 10 insertions(+) create mode 100644 main.py create mode 100644 requirements.txt diff --git a/main.py b/main.py new file mode 100644 index 0000000..8e3dfea --- /dev/null +++ b/main.py @@ -0,0 +1,7 @@ +from fastapi import FastAPI + +app = FastAPI() + +@app.get("/") +async def root(): + return {"message": "Hello World"} \ No newline at end of file diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..835d3be --- /dev/null +++ b/requirements.txt @@ -0,0 +1,3 @@ +fastapi +gunicorn +uvicorn \ No newline at end of file