Skip to content

Latest commit

 

History

History
28 lines (16 loc) · 1.54 KB

File metadata and controls

28 lines (16 loc) · 1.54 KB

Deploy with Vercel

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:

Deploy with Vercel