From 82baed03734c00bcfccac1d8df213ed3a95ef75d Mon Sep 17 00:00:00 2001 From: vjanz Date: Sun, 10 Oct 2021 22:47:03 +0200 Subject: [PATCH] Add entrypoint for fastapi application Signed-off-by: vjanz --- fastapi/app/main.py | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 fastapi/app/main.py diff --git a/fastapi/app/main.py b/fastapi/app/main.py new file mode 100644 index 0000000..9f6ec44 --- /dev/null +++ b/fastapi/app/main.py @@ -0,0 +1,8 @@ +from fastapi import FastAPI + +app = FastAPI() + + +@app.get("/") +def hello_world(): + return {"message": "OK"}