FastAPI on Vercel Example

This is a FastAPI example app deployed on Vercel. Read more about using Python at Vercel here

imagen

Requirements

Setup

  1. git clone && cd fastapi-vercel
  2. (Recommended) Create a virtual environment and activate it
python -m venv env

source env/bin/activate
  1. Install dependencies
pip install -r requirements.txt
  1. Run it!
uvicorn main:app --reload
  1. Deploy to Vercel
vercel
# or
git push # on main