---
title: "Starlette Starter"
description: "Deploy Python Starlette API applications with zero configuration."
url: "https://vercel.com/templates/python/starlette-starter"
links:
  repository: "https://github.com/vercel/examples/tree/main/python/starlette"
  demo: "https://vercel-plus-starlette.vercel.app/"
  deploy: "https://vercel.com/new/clone?demo-title=Starlette+Starter&demo-description=Deploy+Python+Starlette+API+applications+with+zero+configuration.&demo-url=https%3A%2F%2Fvercel-plus-starlette.vercel.app%2F&demo-image=%2F%2Fimages.ctfassets.net%2Fe5382hct74si%2F6wH2QEDDNBKhbohIoRBkOk%2Faf6cead60b46fc879c557e9e3c194d3f%2Fvercel_python_og_card.png&project-name=Starlette+Starter&repository-name=starlette-starter&repository-url=https%3A%2F%2Fgithub.com%2Fvercel%2Fexamples%2Ftree%2Fmain%2Fpython%2Fstarlette&from=templates&skippable-integrations=1&external-id=External+ID+or+reference+that+will+be+passed+to+the+Redirect+URL+of+each+of+the+required+Integrations.&root-directories=List+of+directory+paths+for+the+directories+to+clone+into+projects&project-names=Comma+separated+list+of+project+names%2Cto+match+the+root-directories"
---

# Starlette Starter

Deploy Python Starlette API applications with zero configuration.

# Starlette Starter

Deploy your [Starlette](https://www.starlette.io/) project to Vercel with zero configuration.

[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?demo-description=Deploy%20Python%20Starlette%20applications%20with%20zero%20configuration.&demo-title=Starlette%20Boilerplate&demo-url=https%3A%2F%2Fvercel-plus-starlette.vercel.app%2F&from=templates&project-name=Starlette%20Boilerplate&repository-name=starlette-python-boilerplate&repository-url=https%3A%2F%2Fgithub.com%2Fvercel%2Fexamples%2Ftree%2Fmain%2Fpython%2Fstarlette&skippable-integrations=1)

_Live Example: https://vercel-plus-starlette.vercel.app/_

Visit the [Starlette documentation](https://www.starlette.io/) to learn more.

## Getting Started

Install the required dependencies:

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

Or, if using [uv](https://docs.astral.sh/uv/):

```bash
uv sync
```

## Running Locally

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

```bash
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:

```bash
npm install -g vercel
vercel --prod
```

Or `git push` to your repository with our [git integration](https://vercel.com/docs/deployments/git).

To view the source code for this template, [visit the example repository](https://github.com/vercel/vercel/tree/main/examples/starlette).

## Related Templates

### [Python Celery Starter](https://vercel.com/templates/python/python-celery-starter)

Deploy Python Celery workers using Vercel Queues.

### [FastAPI Boilerplate](https://vercel.com/templates/python/fastapi-python-boilerplate)

Deploy Python FastAPI applications with zero configuration.

### [Flask Boilerplate](https://vercel.com/templates/python/flask-python-boilerplate)

Deploy Python Flask applications with zero configuration.

---

## Additional documentation

The [Vercel Knowledge Base](https://vercel.com/kb) contains guides and answers to common questions about Vercel, including deployment, framework configuration, domains, caching, and troubleshooting.
