Skip to content

Latest commit

 

History

History
45 lines (30 loc) · 875 Bytes

README.md

File metadata and controls

45 lines (30 loc) · 875 Bytes

🍔 FastAPI vs Flask: Serving Requests Daily 🍟

About 📚

This repository contains the code accompanying my Medium blog post, "Order Up! FastAPI vs Flask in the Kitchen of RESTful APIs.".

👉 Read the full blog post on Medium

Getting Started 🚀

Prerequisites 📋

  • Python 3.x
  • Pipenv or Poetry for package management

Installation 🔧

  1. Clone the repository

    git clone https://github.com/Tiffany8/FastAPI-Flask-Comparison.git
  2. Navigate to project

cd FastAPI-Flask-Comparison
  1. Install dependencies
    poetry shell && poetry install

Running the Examples 🏃‍♀️

FastAPI:

uvicorn fastapi_example.main:app --reload --port=8000

Flask:

gunicorn flask_example.main:app --reload --bind 0.0.0.0:8001