FastApi + NGINX
App main.py
Let’s write simple application which returns “hello world” :)
from fastapi import FastAPI
app = FastAPI()
@app.get(“/”)
async def hello():
return {“msg”: “hello world”}
Supervisor config
Now we need some tool for daemonize our API. Sup...
exo.hashnode.dev1 min read