Backend Architecture Patterns

•
39k
•

Implements proven backend architecture patterns including Clean Architecture, Hexagonal Architecture, and Domain-Driven Design for scalable and testable systems.

Architect robust, maintainable backend systems by applying Clean Architecture, Hexagonal Architecture (Ports and Adapters), and Domain-Driven Design (DDD) principles. This skill guides you through structuring layer boundaries, implementing strict dependency inversion, designing pure domain entities and aggregates, and creating fast in-memory adapters for unit testing without external database dependencies. It is essential when starting new microservices, decoupling bloated monoliths, or eliminating framework leaks and circular dependencies across application layers.

主な機能

01Hexagonal Architecture (Ports & Adapters) design for pluggable infrastructure and databases
0239,277 GitHub stars
03Clean Architecture layer enforcement with pure domain entities and inward dependency flow
04Boundary isolation and Anti-Corruption Layers to resolve circular imports and context leaks
05Domain-Driven Design tactical patterns including Aggregates, Value Objects, and Domain Events
06In-memory adapter generation for fast, dependency-free unit and use-case testing

ユースケース

01Refactoring monolithic applications to separate business logic from ORMs and HTTP controllers
02Designing clean, decoupled architecture and service boundaries for new microservices
03Debugging circular import dependencies and framework bleed between application layers