diff options
author | Rasmus Luha <rasmus.luha@gmail.com> | 2022-03-17 13:48:15 +0200 |
---|---|---|
committer | Rasmus Luha <rasmus.luha@gmail.com> | 2022-03-17 13:48:15 +0200 |
commit | 98e375682a50f3cdeddc8e6af022d1e8d12f608d (patch) | |
tree | 22e68ab1daea17566c2a8b0d95e48d238c691c10 /api/main.py | |
parent | ab2efcde6a5fac062ace86aa1705dc47ce69f438 (diff) |
file name fixes
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"} |