---
title: "Deploy Starlette example (Python)"
description: "A lightweight framework for building async web services in Python"
category: "Starters"
url: https://railway.com/deploy/starlette-example-py
---

# Deploy Starlette example (Python)

A lightweight framework for building async web services in Python

**[Deploy Starlette example (Python) on Railway](https://railway.com/template/starlette-example-py)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/starlette-example-py/manifest.json

- **Creator:** Oscar's Projects
- **Category:** Starters
- **Total deploys:** 18

## Template content

### starlette

- **Source:** railwayapp-templates/starlette
- **Health check:** /
- **Public domain:** Yes

## Documentation

# Deploy and Host Starlette example (Python) on Railway

Starlette is a lightweight ASGI framework/toolkit, which is ideal for building async web services in Python.
This template is based on [github.com/railwayapp-templates/starlette](https://github.com/railwayapp-templates/starlette) and is a template/demo project for using Starlette with Python.

## About Hosting Starlette example (Python)

This template shows how to setup Starlette, so you can start creating things with it on your own. Everything is setup once you deploy this template.

## Common Use Cases

- Creating your own webserver
- Using websockets
- Testing http server

## Dependencies for Starlette example (Python) Hosting

Only Python is required, wich is included in this template.

### Deployment Dependencies

[github.com/railwayapp-templates/starlette](https://github.com/railwayapp-templates/starlette)

## Why Deploy Starlette example (Python) on Railway?

Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying Starlette template (Python) on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.

## Similar templates

- [Openfront Gym](https://railway.com/deploy/openfront-gym) — Opensource Mindbody alternative based on Next.js and Keystone.js
- [open-excalidraw](https://railway.com/deploy/open-excalidraw) — Self-hostable collaborative drawing built on Excalidraw
- [Next.js + Prisma + PostgreSQL Starter](https://railway.com/deploy/nextjs-prisma-postgres) — Deploy a Next.js app with Prisma ORM and PostgreSQL in one click.

Open this page in a browser: https://railway.com/deploy/starlette-example-py
