Best for: REST APIs, microservices, backend web apps.
Prompts:
? Choose a framework (Use arrow keys)
» fastapi
flask
django
? Choose extras (space to toggle, enter to confirm)
● ruff
● pytest
○ docker
○ github-actions
○ pre-commit
○ mypyAvailable extras: ruff pytest docker github-actions pre-commit mypy
Run it:
| Framework | Start command |
|---|---|
| FastAPI | uv run uvicorn app.main:app --reload |
| Flask | uv run python run.py |
| Django | uv run python manage.py runserver |
cd my-api
uv run uvicorn app.main:app --reload
# GET http://localhost:8000/ → {"status": "running"}Captured project structure#
These paths come from the verified Spawn v1.2.0 backend-api capture (16 files). This recorded run used --no-git --no-uv; selecting setup tools can add files.
ledger-api/
├── .env.example
├── .gitignore
├── .spawn/
│ └── meta.json
├── AGENTS.md
├── app/
│ ├── __init__.py
│ ├── api/
│ │ ├── __init__.py
│ │ └── routes/
│ │ ├── __init__.py
│ │ └── health.py
│ ├── core/
│ │ ├── __init__.py
│ │ └── config.py
│ └── main.py
├── CHANGELOG.md
├── LICENSE
├── README.md
└── tests/
├── __init__.py
└── test_health.py