summaryrefslogtreecommitdiffstats
path: root/aurweb/asgi.py
diff options
context:
space:
mode:
Diffstat (limited to 'aurweb/asgi.py')
-rw-r--r--aurweb/asgi.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/aurweb/asgi.py b/aurweb/asgi.py
new file mode 100644
index 00000000..5f30471a
--- /dev/null
+++ b/aurweb/asgi.py
@@ -0,0 +1,8 @@
+from fastapi import FastAPI
+
+app = FastAPI()
+
+
+@app.get("/hello/")
+async def hello():
+ return {"message": "Hello from FastAPI!"}