New Project
Back to Templates

Flask Boilerplate

Deploy Python Flask applications with zero configuration.

DeployView Demo
Flask Light

Flask + Vercel

This example shows how to use Flask on Vercel with Serverless Functions using the Python Runtime.

Demo

https://vercel-plus-flask.vercel.app/

How it Works

This example uses the Web Server Gateway Interface (WSGI) with Flask to handle requests on Vercel with Serverless Functions.

Running Locally

npm i -g vercel
python -m venv .venv
source .venv/bin/activate
uv sync # or alternatively pip install flask gunicorn
gunicorn main:app

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

One-Click Deploy

Deploy the example using Vercel:

GitHub Repovercel/examples
Use Cases
Starter
Stack
PythonFlask

Related Templates

Back to Templates
DeployView Demo

FastAPI Boilerplate

Deploy Python FastAPI applications with zero configuration.
FastAPI Boilerplate

AI SDK Python Streaming

AI SDK streaming chat completions from a FastAPI Python Vercel Function.
AI SDK Python Streaming