From bc3fb1b7ee5beb1ce96f8f6428a1eb30991e74c0 Mon Sep 17 00:00:00 2001 From: Christoph Califice Date: Sun, 12 Apr 2026 19:27:36 -0300 Subject: [PATCH] fast api starter --- convert-to-json.py | 0 main.py | 13 +++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 convert-to-json.py create mode 100644 main.py diff --git a/convert-to-json.py b/convert-to-json.py new file mode 100644 index 0000000..e69de29 diff --git a/main.py b/main.py new file mode 100644 index 0000000..520c76f --- /dev/null +++ b/main.py @@ -0,0 +1,13 @@ +from fastapi import FastAPI + +app = FastAPI() + + +@app.get("/") +def read_root(): + return {"Hello": "World"} + + +@app.get("/test") +def test(): + return "Test" \ No newline at end of file