This example shows how to use Flask 2 on Vercel with Serverless Functions using the Python Runtime.
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 devYour Flask application is now available at http://localhost:3000.
Deploy the example using Vercel: