Skip to content

This example shows how to use FastApi on Vercel with Serverless Functions using the Python Runtime

License

Notifications You must be signed in to change notification settings

hebertcisco/deploy-python-fastapi-in-vercel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deploy with Vercel

FastApi + Vercel

This example shows how to use FastApi 0.88.0 on Vercel with Serverless Functions using the Python Runtime.

Python testing

Demo

deploy-python-fastapi-in-vercel.vercel.app

How it Works

This example uses the Web Server Gateway Interface (WSGI) with Flask to enable handling requests on Vercel with Serverless Functions.

Running Locally

npm i -g vercel
vercel dev

Your Flask application is now available at http://localhost:3000.

One-Click Deploy

Deploy the example using Vercel:

Deploy with Vercel