This is a FastAPI example app deployed on Vercel. Read more about using Python at Vercel here
- Vercel account
- Python 3.9 Supported version at Vercel
- Vercel CLI (Optional)
git clone && cd fastapi-vercel
- (Recommended) Create a virtual environment and activate it
python -m venv env
source env/bin/activate
- Install dependencies
pip install -r requirements.txt
- Run it!
uvicorn main:app --reload
- Deploy to Vercel
vercel
# or
git push # on main