summaryrefslogtreecommitdiff
path: root/api/main.py
diff options
context:
space:
mode:
authorMatheus <matheus.guedes.mg.m@gmail.com>2025-11-02 21:23:02 -0300
committerMatheus <matheus.guedes.mg.m@gmail.com>2025-11-02 21:23:02 -0300
commit9e5e5da02b4a9704543e0efd7eb568b31a77a369 (patch)
treed5929d84620b4eaa87c63a82c8b70c3c4d63a6a2 /api/main.py
parentc3a884f12c1d7b6bc286e14bf0f8af2d99dad542 (diff)
list locations
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.'}
+