| name | fastapi-project-setup |
| description | Initialize FastAPI project with uv, pyproject.toml, ruff configuration, and environment files |
FastAPI Project Setup
Overview
This skill covers initializing a new FastAPI project with uv package manager, proper project configuration, and tooling setup.
Step 1: Initialize Project with uv
uv init
Step 2: Create pyproject.toml
[project]
name = "your-project-name"
version = "0.1.0"
description = "FastAPI backend application"
requires-python = ">=3.12"
dependencies = [
"fastapi>=0.115.0",
"uvicorn[standard]>=0.32.0",
"pydantic>=2.10.0",
"pydantic-settings>=2.7.0",
"sqlalchemy[asyncio]>=2.0.36",
"asyncpg>=0.30.0",
"alembic>=1.14.0",
"fastapi-pagination>=0.12.33",
"fastapi-filter>=2.0.0",
"python-json-logger>=3.2.1",
]
[project.optional-dependencies]
dev = [
"ruff>=0.8.0",
"pytest>=8.3.0",
"pytest-asyncio>=0.25.0",
"httpx>=0.28.0",
]
= []
=
= []
=
=
= []
= []