Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 465 Bytes

README.md

File metadata and controls

18 lines (13 loc) · 465 Bytes

python-api-examples

Comparing Python API Frameworks

Flask Local Setup

  1. pip install poetry
  2. Install dependencies cd flask_project then poetry install
  3. Run the flask server via poetry poetry run flask run
  4. Open http://localhost:5000/

FastAPI Local Setup

  1. pip install poetry
  2. Install dependencies cd fastpi_project then poetry install
  3. Run the FastAPI server via poetry poetry run ./run.sh
  4. Open http://localhost:8001/