Deploy your Flask project to Vercel with zero configuration.
Live Example: https://vercel-plus-flask.vercel.app/
Visit the Flask documentation to learn more.
This example follows the application factory pattern from the Flask tutorial:
├── main.py # Application factory and entry point
├── items.py # Items blueprint with API routes
├── templates/
│ └── index.html # Landing page template
├── public/
│ └── favicon.ico
├── pyproject.toml
└── README.md
Install the required dependencies using uv:
uv syncvercel dev| Method | Path | Description |
|---|---|---|
GET |
/ |
Landing page |
GET |
/api/data |
List sample items |
GET |
/api/items/<item_id> |
Get item by ID |
Deploy your project to Vercel with the following command:
npm install -g vercel
vercel --prodOr git push to your repository with our git integration.
To view the source code for this template, visit the example repository.