blob: ffdf071c5e504f03f818c0587cb331b9a350c293 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
from fastapi import FastAPI
from .routes import locations, measures, stations, sensors, readings
app = FastAPI()
app.include_router(locations.router)
app.include_router(measures.router)
app.include_router(stations.router)
app.include_router(sensors.router)
app.include_router(readings.router)
@app.get('/')
async def root():
return {'msg': 'You will never be happy.'}
|