Hexagonal Architecture (Ports & Adapters)
ποΈ μν€ν μ² κ°μβ
π κ³μΈ΅λ³ μμΈ κ΅¬μ‘°β
Primary Adapters (Driving Side)β
Application Layerβ
Domain Coreβ
Secondary Adapters (Driven Side)β
μμ‘΄μ± κ·μΉβ
λλ ν 리 ꡬ쑰β
server/
βββ application/ # Application Layer
β βββ {domain}/
β βββ handlers/ # CQRS Handlers
β β βββ command/
β β βββ query/
β β βββ event/
β βββ services/ # Application Services
β βββ ports/ # Primary Ports
β
βββ domains/ # Domain Core
β βββ {domain}/
β βββ entities/ # Domain Entities
β βββ domain_services/ # Domain Services
β βββ policies/ # Domain Policies
β βββ events/ # Domain Events
β
βββ infrastructure/ # Adapters
βββ adapters/
βββ primary/ # Driving Adapters
β βββ api/
β βββ grpc/
βββ secondary/ # Driven Adapters
βββ graph_db/
βββ cache/
βββ external/
κ΄λ ¨ λ¬Έμ: