This is a comprehensive reference for structuring production FastAPI applications with modern Python patterns. It covers the full stack: app factories with lifespan management, pydantic-settings for configuration, proper dependency injection with type annotations, transactional service layers that separate business logic from routes, and SQLAlchemy async sessions. The code samples are complete and opinionated, showing real implementations of JWT auth, CORS middleware, Pydantic v2 validators, and pagination. Use this when you're past the tutorial phase and need to see how the pieces fit together in a maintainable codebase. The service layer pattern alone will save you from tangled route handlers.
npx -y skills add affaan-m/ecc --skill fastapi-patterns --agent claude-codeInstalls into .claude/skills of the current project.
Select a file.
mindrally/skills