wdhdev / fastapi-template

An example template of a Python API made using FastAPI.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

⚑ FastAPI Template

An example template of a Python API made using FastAPI.

Languages

πŸƒβ€β™‚οΈ Running the API

  1. Install the required dependencies using the following command:
pip install -r requirements.txt
  1. Run the API using the following command:
  • Replace the value of --port with the port you want the API to run on.
uvicorn main:app --port 3000

πŸ“ Notes

  • router.py contains all of the endpoints of the API.

About

An example template of a Python API made using FastAPI.

License:MIT License


Languages

Language:Python 100.0%