Skip to content
Back to Templates

Starlette Starter

Deploy Python Starlette API applications with zero configuration.

vercel python og card

Starlette Starter

Deploy your Starlette project to Vercel with zero configuration.

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

Visit the Starlette documentation to learn more.

Getting Started

Install the required dependencies:

python -m venv .venv
source .venv/bin/activate
pip install .

Or, if using uv:

uv sync

Running Locally

Start the development server on http://0.0.0.0:5001

python main.py
# using uv:
uv run main.py

When you make changes to your project, the server will automatically reload.

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.

GitHub Repovercel/examples
Stack

Related Templates