Back to Templates

FastAPI + Vercel
This example shows how to use FastAPI on Vercel with Serverless Functions using the Python Runtime.
Demo
https://vercel-plus-fastapi.vercel.app/
How it Works
This example uses the Asynchronous Server Gateway Interface (ASGI) with FastAPI to enable handling requests on Vercel with Serverless Functions.
Running Locally
npm i -g vercelvercel dev
Your FastAPI application is now available at http://localhost:3000.
One-Click Deploy
Deploy the example using Vercel:

