fastapi-ddd
CommunityFastAPI + DDD patterns for clean architectures.
Authorkoenvorster
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill provides a clear blueprint for implementing FastAPI endpoints using Domain-Driven Design patterns, aligning API routes, domain services, aggregates, and repositories into a coherent architecture to reduce coupling and improve testability.
Core Features & Use Cases
- App factory & lifecycle: guidance on creating a FastAPI app with a lifespan context manager and DI integration.
- DDD patterns: guidance on organizing aggregates, repositories, services, and domain events.
- Pydantic v2: examples of schemas and validation aligned with async SQLAlchemy models.
- Testing & migrations: structure for pytest async tests and Alembic migration workflow.
Quick Start
Start by scaffolding a FastAPI project with an app factory, then wire a simple CRUD domain using a single aggregate and repository.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: fastapi-ddd Download link: https://github.com/koenvorster/Personal_project_VorstersNV/archive/main.zip#fastapi-ddd Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.