summaryrefslogtreecommitdiff
path: root/api/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'api/main.py')
-rw-r--r--api/main.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/api/main.py b/api/main.py
index e69de29..b4c85c5 100644
--- a/api/main.py
+++ b/api/main.py
@@ -0,0 +1,11 @@
+from fastapi import FastAPI
+from .routes import locations
+
+app = FastAPI()
+app.include_router(locations.router)
+
+
+@app.get('/')
+async def root():
+ return {'msg': 'You will never be happy.'}
+