This example shows how to use Flask 2 on Vercel with Serverless Functions using the Python Runtime.
https://flask-python-template.vercel.app/
This example uses the Web Server Gateway Interface (WSGI) with Flask to enable handling requests on Vercel with Serverless Functions.
npm i -g vercel
vercel dev
Your Flask application is now available at http://localhost:3000
.
Deploy the example using Vercel: