summaryrefslogtreecommitdiff
path: root/api/main.py
blob: b4c85c5cda9592cebd21f261289f47b2a1e96b79 (plain)
1
2
3
4
5
6
7
8
9
10
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.'}