A GitHub template for multi-platform Python applications with FastAPI backend, React frontend, and Electron desktop support.
This template is a companion to the book Ship Python, Orchestrate AI: Professional Python in the AI Era by Michael Borck.
- Click "Use this template" on GitHub
- Clone your new repository
- Run the rename script to customize:
./scripts/rename_project.sh "My Application" "my-application" "my_application"Or manually search and replace:
My Application→ Your project namemy-application→ Your project slug (URL-safe)my_app→ Your Python package name
cd backend
uv sync
uv run uvicorn my_app.main:app --reloadAPI available at http://localhost:8000
cd frontend
npm install
npm run devFrontend available at http://localhost:5173
docker-compose -f docker/docker-compose.yml upship-python-template/
├── backend/ # FastAPI backend (Python)
│ ├── src/my_app/
│ └── tests/
├── frontend/ # React frontend (TypeScript)
│ └── src/
├── electron/ # Desktop wrapper
├── docker/ # Container configs
├── .github/workflows/ # CI/CD
├── CLAUDE.md # AI context
└── scripts/ # Utility scripts
- FastAPI Backend: Modern Python API with automatic documentation
- React Frontend: TypeScript + Vite + React Query
- Electron Desktop: Cross-platform with auto-update
- Docker: Development and production containers
- CI/CD: GitHub Actions workflows
- AI-Ready: CLAUDE.md for AI assistant context
- Ship Python, Orchestrate AI - The companion book
- ship-python-cookiecutter - Cookiecutter template (more customization)
- ship-python-example - Complete working example
MIT License - see LICENSE for details.