commit 8f7eee60b48c4d72efe4a427c093944bb6789b21 Author: jableader Date: Sun Jan 7 11:33:40 2024 +1100 Initial Commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0e5ac79 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +.venv +__pycache__ \ No newline at end of file diff --git a/main.py b/main.py new file mode 100644 index 0000000..d786432 --- /dev/null +++ b/main.py @@ -0,0 +1,8 @@ +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..f831d1d --- /dev/null +++ b/requirements.txt @@ -0,0 +1,10 @@ +annotated-types==0.6.0 +anyio==4.2.0 +exceptiongroup==1.2.0 +fastapi==0.108.0 +idna==3.6 +pydantic==2.5.3 +pydantic_core==2.14.6 +sniffio==1.3.0 +starlette==0.32.0.post1 +typing_extensions==4.9.0