File size: 271 Bytes
9a91588
 
e63b9e1
9a91588
 
 
e63b9e1
9a91588
 
 
 
e63b9e1
9a91588
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
from fastapi import FastAPI
import uvicorn
from src.app import storage


app = FastAPI()
app.include_router(storage.router)


@app.get("/")
def root():
    return {"detail": "Storage server"}


if __name__ == "__main__":
    uvicorn.run(app, host="127.0.0.1", port=8000)