doavers / FastAPI-Amigoscode

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Run this

pip3 install fastapi "uvicorn[standard]"

uvicorn main:app --reload

uvicorn main:app --host 0.0.0.0 --port 8000 --reload

Troubleshoot

Error Message: AttributeError: module 'asyncio' has no attribute 'run'

pip3 uninstall uvicorn
pip3 install uvicorn==0.16.0

Generated Docs

Swagger ReDocs

Reference

AmigosCode

About


Languages

Language:Python 100.0%