Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flask Starter

Deploy your Flask project to Vercel with zero configuration.

Deploy with Vercel

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

Visit the Flask documentation to learn more.

Project Structure

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

Getting Started

Install the required dependencies using uv:

uv sync

Running Locally

vercel dev

API Endpoints

Method Path Description
GET / Landing page
GET /api/data List sample items
GET /api/items/<item_id> Get item by ID

Deploying to Vercel

Deploy your project to Vercel with the following command:

npm install -g vercel
vercel --prod

Or git push to your repository with our git integration.

To view the source code for this template, visit the example repository.

Releases

Packages

Contributors

Languages