Overview
Builds a complete FastAPI backend: scaffolds the service, adds CRUD endpoints for each entity, sets up authentication, and deploys.
Suggested Team
- architect — API design, data model, authentication strategy
- backend-engineer — Service implementation, endpoint creation
- qa-engineer — Test writing, API testing
Process
Phase 1: Design
- Define the API's entities and relationships
- Design the URL structure and HTTP methods
- Choose authentication method (JWT, API keys, OAuth)
- Plan database schema
Phase 2: Scaffold
- Run
/fastapi-serviceto scaffold the base service - Set up database (SQLAlchemy models, migrations)
- Add authentication middleware
Phase 3: Implement
- For each entity, run
/pydantic-api-endpointto add CRUD endpoints - Add business logic and validation rules
- Add inter-entity relationships and nested routes
- Add pagination, filtering, and sorting
Phase 4: Quality & Deploy
- Write tests for each endpoint (happy path + edge cases)
- Run
/self-review-fix-loopfor quality assurance - Add OpenAPI documentation (auto-generated by FastAPI)
- Run
/docker-cloudrunfor containerization and deployment - Verify: all tests pass, API documentation accessible, health check responds
Source: hamzaPixl/pixl-ai — distributed by TomeVault.