Skip to content
Back to Templates

FastAPI Boilerplate

Deploy Python FastAPI applications with zero configuration.

FastAPI Light

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 vercel
vercel dev

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

One-Click Deploy

Deploy the example using Vercel:

GitHub repovercel/examples
Use Cases
Stack