fastcrud - Build FastAPI CRUD with FastCRUD
Build or modify async CRUD data access and optionally generated REST endpoints for SQLAlchemy or SQLModel models in FastAPI.
Tags
Updated: 2026-10-16Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Build CRUD data access
- Generate CRUD API endpoints
- Configure filters and joins
- Detect model relationships
- Paginate query results
- Implement soft deletes
- Prevent N+1 queries
- Choose bounded query limits
Inputs
- SQLAlchemy models
- SQLModel models
- Pydantic schemas
- AsyncSession dependency
- CRUD endpoint configuration
- Relationship join configuration
- Filter parameters
- Pagination parameters
Outputs
- CRUD data results
- Paginated list responses
- Generated FastAPI routes
- Created records
- Updated records
- Deleted records
- Count results
- Existence results
Requirements
- FastAPI project
- fastcrud >= 0.22
- SQLAlchemy 2.0 or SQLModel
- Async database session
- FastAPI dependency callable
