diff options
Diffstat (limited to 'api/main.py')
-rw-r--r-- | api/main.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/api/main.py b/api/main.py new file mode 100644 index 0000000..8068243 --- /dev/null +++ b/api/main.py @@ -0,0 +1,13 @@ +from fastapi import FastAPI +from routers import get +import pandas as pd + +app = FastAPI() + +#CORS STUFF HERE + +app.include_router(get.router) + +@app.get("/", tags=["Index"]) +def getIndex(): + return {"Message": "Hello! add /docs for documentation"} |