What it does
A short Cursor rules file for FastAPI projects. It lists practices such as Pydantic schemas, dependency injection, async operations, HTTPException error handling and background tasks, and suggests an app folder layout with models, schemas, routers, services and tests.
Use cases
- 01Scaffold a new FastAPI project with a standard folder layout
- 02Add authentication using FastAPI security utilities
- 03Move a long-running job into a background task