# Domain driven design

> AI-ranked search results for `domain driven design samples` on awesome-repositories.com — ordered by an LLM for relevance, best match first. 117 total matches; showing the top 25.

Explore on the web: https://awesome-repositories.com/q/domain-driven-design-samples

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [this search on awesome-repositories.com](https://awesome-repositories.com/q/domain-driven-design-samples).**

## Results

- [codelytv/typescript-ddd-example](https://awesome-repositories.com/repository/codelytv-typescript-ddd-example.md) (1,473 ⭐) — This project is a reference implementation for building scalable applications in TypeScript using Domain-Driven Design. It provides a structured codebase template that organizes business logic through tactical design patterns and strategic modeling to ensure the software reflects specific business requirements.

The architecture utilizes a hexagonal pattern to isolate core business logic from external infrastructure concerns such as databases and delivery mechanisms. It implements Command Query Responsibility Segregation to separate data modification operations from information retrieval tasks
- [ddd-by-examples/library](https://awesome-repositories.com/repository/ddd-by-examples-library.md) (5,805 ⭐) — This project is a reference implementation of Domain-Driven Design patterns, functional domain modeling, and event-driven state coordination. It demonstrates the application of strategic and tactical design patterns to manage complex business requirements.

The implementation utilizes a functional domain model with pure functions and immutable objects to manage state transitions and side effects. It features a Command Query Responsibility Segregation architecture to separate read and write models, alongside event-driven coordination to maintain consistency across autonomous business boundaries
- [evolutionary-architecture/evolutionary-architecture-by-example](https://awesome-repositories.com/repository/evolutionary-architecture-evolutionary-architecture-by-example.md) (3,447 ⭐) — This project serves as a comprehensive educational resource for implementing modular monoliths and microservices within .NET environments. It focuses on applying domain-driven design principles to manage complex business logic, providing a structured approach to building systems that can evolve alongside changing requirements.

The architecture is defined by its emphasis on modularity and clear boundaries, utilizing vertical slices and bounded contexts to organize code by business process rather than technical layer. It distinguishes itself through a systematic migration framework that allows
- [stemmlerjs/ddd-forum](https://awesome-repositories.com/repository/stemmlerjs-ddd-forum.md) (2,088 ⭐) — This project is a full-stack forum platform built with TypeScript that serves as a reference architecture for implementing domain-driven design and clean architecture patterns. It provides a structured environment for community discussion, enabling users to register, authenticate, and engage in moderated conversations across organized topic categories.

The platform distinguishes itself by strictly separating core business logic from infrastructure concerns. By utilizing a layered hexagonal architecture and the repository pattern, the codebase isolates business rules from external frameworks a
- [vaughnvernon/iddd_samples](https://awesome-repositories.com/repository/vaughnvernon-iddd-samples.md) (3,938 ⭐) — This project is a reference implementation of domain-driven design patterns and a sample of command query responsibility segregation. It provides a collection of event-driven microservices that demonstrate the practical application of architectural principles for structuring complex software systems.

The implementation separates read and write models through an event journal and organizes services into bounded contexts to maintain clear functional boundaries. It coordinates business logic by dispatching and consuming domain events to synchronize different modules.

The project covers a range
- [commanded/commanded](https://awesome-repositories.com/repository/commanded-commanded.md) (2,016 ⭐) — Commanded is an Elixir framework designed for building event-sourced applications that utilize domain-driven design. It provides a structured environment for implementing command-query responsibility segregation, allowing developers to separate write-side command processing from read-side data projection. By treating state changes as an immutable sequence of events, the framework ensures a reliable audit trail and facilitates system recovery.

The project distinguishes itself through its support for distributed process orchestration and event-driven middleware pipelines. It enables the managem
- [khannedy/golang-clean-architecture](https://awesome-repositories.com/repository/khannedy-golang-clean-architecture.md) (1,066 ⭐) — This project provides a structured boilerplate for building Go web applications based on clean architecture principles. It serves as a template for organizing codebases to ensure that core business logic remains isolated from external frameworks, database layers, and delivery mechanisms.

The implementation prioritizes domain-driven design by centering the application around pure business entities that contain no references to infrastructure concerns. It utilizes layered dependency inversion and interface-based port adaptation to decouple the internal logic from external dependencies, allowing
- [bitloops/ddd-hexagonal-cqrs-es-eda](https://awesome-repositories.com/repository/bitloops-ddd-hexagonal-cqrs-es-eda.md) (1,423 ⭐) — Complete working example of using Domain Driven Design (DDD), Hexagonal Architecture, CQRS, Event Sourcing (ES), Event Driven Architecture (EDA), Behaviour Driven Development (BDD) using TypeScript and NestJS. Like what you see? Don't forget to star! ⭐ ^^^
- [zkavtaskin/domain-driven-design-example](https://awesome-repositories.com/repository/zkavtaskin-domain-driven-design-example.md) (1,880 ⭐) — Domain-Driven-Design-Example is a C# sample project and reference pattern that demonstrates how to structure business logic and domain models using domain-driven design principles. It implements enterprise application architecture patterns by isolating core business rules and domain entities from technical infrastructure concerns through bounded contexts.

The codebase implements core domain concepts using immutable value objects defined entirely by their attributes, alongside entities and application services. It coordinates external requests, transaction boundaries, and domain model interact
- [rafaelfgx/architecture](https://awesome-repositories.com/repository/rafaelfgx-architecture.md) (3,268 ⭐) — This project provides a standardized architectural framework for building scalable, full-stack enterprise applications. It serves as a foundational boilerplate that enforces clean architecture principles, ensuring that business logic remains isolated from infrastructure concerns and external data persistence details. By organizing code into feature-based modules rather than technical roles, the framework simplifies navigation and maintenance within large, complex codebases.

The architecture distinguishes itself through a mediator-based communication model that decouples application layers and
- [amantinband/clean-architecture](https://awesome-repositories.com/repository/amantinband-clean-architecture.md) (1,924 ⭐) — This project provides a structured template for building enterprise-grade applications using domain-driven design principles. It serves as a foundational scaffold for web services, enforcing a strict separation of concerns by isolating core business logic from infrastructure, data access layers, and external frameworks.

The architecture is built around a modular design that utilizes request pipelining and dependency inversion to maintain loose coupling. It distinguishes itself through a centralized command and query handling system, which routes requests through a unified interface, and a dom
- [sairyss/domain-driven-hexagon](https://awesome-repositories.com/repository/sairyss-domain-driven-hexagon.md) (14,395 ⭐) — This project is a TypeScript-based architectural framework designed to implement domain-driven design and hexagonal architecture in enterprise applications. It provides a structured boilerplate that isolates core business logic from infrastructure concerns, ensuring that domain entities, use cases, and external technology adapters remain decoupled and maintainable.

The framework distinguishes itself by enforcing strict architectural boundaries and dependency inversion, preventing unauthorized access to core logic from external layers. It utilizes a command-query responsibility segregation pat
- [cheese10yun/spring-jpa-best-practices](https://awesome-repositories.com/repository/cheese10yun-spring-jpa-best-practices.md) (1,173 ⭐) — This project serves as a comprehensive guide and collection of architectural patterns for implementing domain-driven design within Java enterprise applications. It focuses on structuring persistence layers to ensure data integrity, maintainability, and clear domain boundaries when working with object-relational mapping.

The repository distinguishes itself by demonstrating how to encapsulate business logic and state transitions directly within entities, moving away from simple data containers toward rich domain models. It provides practical examples for managing complex entity relationships, i
- [microservices-patterns/ftgo-application](https://awesome-repositories.com/repository/microservices-patterns-ftgo-application.md) (3,718 ⭐) — This project is a Java microservices reference implementation that demonstrates the application of structural design patterns for distributed systems. It consists of a suite of containerized services and infrastructure dependencies designed to showcase how to coordinate multiple independent services into a functional system.

The implementation focuses on several advanced architectural patterns, including a centralized API gateway for routing and aggregating responses, Command Query Responsibility Segregation to separate read and write operations, and event sourcing to persist the state of bus
- [citerus/dddsample-core](https://awesome-repositories.com/repository/citerus-dddsample-core.md) (5,272 ⭐) — This project is a reference implementation and architectural sample of Domain-Driven Design. It serves as a codebase demonstrating how to align software design with a specific business domain to manage complex business logic.

The implementation functions as a reporting system that receives and processes data via JSON payloads. It utilizes a structured domain model to define and automate business workflows and handle state changes.

The architecture partitions the system into distinct application and domain layers, utilizing aggregate roots for consistency and the repository pattern for data a
- [bottegait/ddd-leaven-v2](https://awesome-repositories.com/repository/bottegait-ddd-leaven-v2.md) (879 ⭐) — DDD-CqRS sample v2.0 project that helps you with starting out advanced domain modeling using Spring, JPA and testing
- [cesarcastrocuba/nlayerappv3](https://awesome-repositories.com/repository/cesarcastrocuba-nlayerappv3.md) (155 ⭐) — Domain Driven Design (DDD) N-LayeredArchitecture with .Net Core 2
- [asc-lab/dotnet-cqrs-intro](https://awesome-repositories.com/repository/asc-lab-dotnet-cqrs-intro.md) (138 ⭐) — Examples of implementation CQRS with Event Sourcing - evolutionary approach
- [asc-lab/java-cqrs-intro](https://awesome-repositories.com/repository/asc-lab-java-cqrs-intro.md) (215 ⭐) — Examples of implementation CQRS with Event Sourcing - evolutionary approach
- [andras-nemes/dddskeletonnet](https://awesome-repositories.com/repository/andras-nemes-dddskeletonnet.md) (181 ⭐) — This is a .NET skeleton project to introduce the concepts of Domain Driven Design and loosely coupled layers. You can use this solution as a starting point to build loosely coupled and composable applications where the Domain is at the heart of the project.
- [andorp/order-taking](https://awesome-repositories.com/repository/andorp-order-taking.md) (144 ⭐) — Idris version of Domain Modeling Made Functional Book.
- [asc-lab/better-code-with-ddd](https://awesome-repositories.com/repository/asc-lab-better-code-with-ddd.md) (320 ⭐) — This repository contains code that accompanies presentation ASC LAB team gave at meetup about “Creating better code with Domain Driven Design”.
- [andreschaffer/event-sourcing-cqrs-examples](https://awesome-repositories.com/repository/andreschaffer-event-sourcing-cqrs-examples.md) (596 ⭐) — Event Sourcing and CQRS in practice.
- [codeliner/php-ddd-cargo-sample](https://awesome-repositories.com/repository/codeliner-php-ddd-cargo-sample.md) (790 ⭐) — PHP 7 Version of the cargo sample used in Eric Evans DDD book
- [mikolaj-jankowski/clean-architecture-and-domain-driven-design-solution-template](https://awesome-repositories.com/repository/mikolaj-jankowski-clean-architecture-and-domain-driven-design-solution-template.md) (285 ⭐) — Clean Architecture and Domain Driven Design Template
