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