What it does
A Cursor rules file for building APIs with Python and FastAPI. It favors a functional style, type hints on every function, Pydantic models for validation, async functions for database work, and a clear file structure for routers, utilities and schemas.
Use cases
- 01Create a new API route with validated request and response models
- 02Add async database access with SQLAlchemy
- 03Organize routers and utilities into a clean file structure