Clean DDD & Hexagonal Architecture

•
59
•

Designs scalable, maintainable backend services by applying Domain-Driven Design tactical patterns, Clean Architecture dependency rules, and Hexagonal ports and adapters.

Clean DDD & Hexagonal provides language-agnostic architectural guidance to help you build robust backend systems, APIs, and microservices in Go, Rust, Python, TypeScript, Java, or C#. It synthesizes Domain-Driven Design (aggregates, entities, value objects, domain events), Hexagonal Architecture (ports and adapters), and Clean Architecture dependency constraints to keep your core business logic completely isolated from external frameworks, databases, and transport protocols. Use this skill when designing complex enterprise domains, restructuring monolithic codebases, or ensuring strict separation of concerns across application layers.

Características Principales

01Enforces inward-only dependency rules to isolate core domain logic from infrastructure details
02Provides tactical DDD building blocks including aggregates, entities, value objects, and domain events
03Establishes clean separation with driver and driven ports and adapters for flexible integration
0459 GitHub stars
05Includes decision trees and sharp-edge guidance to prevent anemic domain models and god aggregates
06Offers language-agnostic directory templates and layer mapping for modern backend frameworks

Casos de Uso

01Structuring complex microservices or backend APIs that require long-term maintainability and high test coverage
02Isolating external infrastructure like databases, message brokers, and third-party APIs behind clear ports
03Refactoring legacy CRUD or anemic codebases into domain-driven, well-encapsulated business models