Domain-Driven Hexagon is an open-source educational project that demonstrates how to build maintainable backend applications using Domain-Driven Design and Hexagonal Architecture. It combines principles from Clean Architecture, Onion Architecture, SOLID, and secure software design. The repository includes practical TypeScript, Node.js, and NestJS code examples. It explains how to separate business logic from databases, frameworks, and external services. Developers can study entities, aggregates, value objects, domain events, and application services. The project also demonstrates command-query separation, repositories, dependency inversion, and adapter patterns. Additional guidance covers modular application structure, behavioral testing, validation, and architectural enforcement.

Features

  • Domain-Driven Design and Hexagonal Architecture
  • TypeScript and NestJS Implementation Examples
  • Domain Entities, Aggregates, and Value Objects
  • Command-Query Separation and Domain Events
  • Ports, Adapters, and Repository Patterns
  • Behavioral Testing and Architecture Enforcement

Project Samples

Project Activity

See All Activity >

Categories

Education

License

MIT License

Follow Domain-Driven Hexagon

Domain-Driven Hexagon Web Site

Other Useful Business Software
Veeam Data Platform v13.1 Icon
Veeam Data Platform v13.1

Move workloads across hypervisors and clouds with no vendor lock-in. Try VDP free today.

Try Veeam Data Platform today. Experience the unified platform that's secure by design, portable by default, and proven to recover clean, fast, and anywhere.
Try Now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Domain-Driven Hexagon!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

TypeScript

Related Categories

TypeScript Education Software

Registered

2026-10-28