What it does
A Cursor rules file for Python 3.12 backends built with FastAPI, Pydantic and SQLAlchemy. It lists the supporting tools to use, including Poetry, Alembic and several FastAPI extensions, along with general Python habits such as PEP 8, type hints, docstrings and tests.
Use cases
- 01Add a database migration with Alembic
- 02Add authentication using fastapi-users
- 03Write unit tests for an API endpoint