An example template of a Python API made using FastAPI.
| .github | ||
| .gitignore | ||
| LICENSE | ||
| main.py | ||
| README.md | ||
| requirements.txt | ||
| router.py | ||
⚡ FastAPI Template
An example template of a Python API made using FastAPI.
🏃♂️ Running the API
- Install the required dependencies using the following command:
pip install -r requirements.txt
- Run the API using the following command:
- Replace the value of
--portwith the port you want the API to run on.
uvicorn main:app --port 3000
📝 Notes
router.pycontains all of the endpoints of the API.