pip3 install fastapi "uvicorn[standard]"
- Use pydantic to create and validate models
- uvicorn {module_name}: app --reload
uvicorn main:app --reload
- accessing your api via swagger http://localhost:8000/docs
pip3 install fastapi "uvicorn[standard]"
uvicorn main:app --reload