For domain driven design samples, the strongest matches are codelytv/typescript-ddd-example (This TypeScript codebase serves as a reference implementation for), ddd-by-examples/library (This repository is a comprehensive reference architecture implementing Domain-Driven) and evolutionary-architecture/evolutionary-architecture-by-example (This repository provides a concrete). stemmlerjs/ddd-forum and vaughnvernon/iddd_samples round out the shortlist. Each is ranked by relevance to your query, popularity and recent activity.
Hand-picked domain-driven design repositories to learn architecture patterns. Compare the top samples and find the best fit.
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
This TypeScript codebase serves as a reference implementation for Domain-Driven Design, featuring hexagonal architecture, CQRS, and domain events, making it a solid template project even though it lacks explicit mention of TDD or rich domain models in its summary.
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
This repository is a comprehensive reference architecture implementing Domain-Driven Design patterns with functional domain modeling, event-driven coordination, and clear bounded contexts in Java.
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
This repository provides a concrete .NET reference implementation demonstrating domain-driven design patterns, bounded contexts, and modular architecture principles.
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
This TypeScript full-stack forum platform is a comprehensive reference architecture that explicitly implements domain-driven design, hexagonal architecture, and clean architecture patterns.
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
This repository provides a concrete Java reference implementation for domain-driven design complete with bounded contexts, aggregate roots, and event-driven coordination, making it a comprehensive sample codebase for DDD architectures.
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
Commanded is an Elixir framework for building event-sourced applications using domain-driven design, offering aggregate state management, event handling, and CQRS patterns that fit this architectural reference search.
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
This repository provides a clean architecture boilerplate and template project implementing domain-driven design principles in Go, making it a solid reference codebase for structured business logic isolation, though it lacks some specific advanced features like distributed domain events.
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! ⭐ ^^^
This repository provides a complete working reference application implementing Domain-Driven Design, Hexagonal Architecture, CQRS, Event Sourcing, and BDD in TypeScript using NestJS.
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
This C# reference project implements core Domain-Driven Design patterns including bounded contexts, value objects, and domain entities, making it a solid sample codebase for learning architectural principles despite lacking explicit hexagonal architecture tagging.
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
This project serves as a comprehensive reference architecture implementing Domain-Driven Design patterns like aggregate roots and clean architecture principles, making it a great template for enterprise applications.
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
This project provides a C# clean architecture template implementing domain-driven design patterns and enterprise patterns, though it leans more toward general clean architecture than strict hexagonal separation.
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
This TypeScript repository provides a comprehensive reference implementation of domain-driven design and hexagonal architecture, though it serves more as a boilerplate than a complete enterprise sample codebase.
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
This repository provides a practical reference architecture for implementing domain-driven design principles in Java enterprise applications, focusing heavily on rich domain models and persistence patterns.
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
This Java microservices reference implementation demonstrates Domain-Driven Design and microservice architectural patterns, featuring domain aggregates and business logic encapsulations that fit the reference architecture intent well.
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
This repository provides a Java-based reference implementation of Domain-Driven Design principles featuring aggregate roots and domain layers, though it lacks some of the broader architectural patterns like hexagonal separation.
DDD-CqRS sample v2.0 project that helps you with starting out advanced domain modeling using Spring, JPA and testing
This repository provides a concrete Java-based sample application implementing Domain-Driven Design and CQRS patterns, though it lacks some of the specifically requested architectural styles like hexagonal architecture.
Domain Driven Design (DDD) N-LayeredArchitecture with .Net Core 2
This repository provides a .NET Core sample application implementing traditional N-layered Domain-Driven Design patterns, making it a fitting reference codebase for architectural patterns despite using an older framework version.
Examples of implementation CQRS with Event Sourcing - evolutionary approach
This repository provides a reference codebase demonstrating Domain-Driven Design principles through CQRS and event sourcing patterns, though it does not explicitly highlight all the requested architectural features like hexagonal ports.
Examples of implementation CQRS with Event Sourcing - evolutionary approach
This repository provides practical Java sample code for implementing CQRS and event sourcing patterns, making it a relevant architecture reference for domain-driven design even though it lacks hexagonal architecture and TDD features.
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.
This .NET skeleton project serves as a starting point for implementing domain-driven design concepts with loosely coupled layers, providing a solid template codebase for architecture exploration even if it lacks explicit hexagonal mapping or domain events.
Idris version of Domain Modeling Made Functional Book.
This repository implements Domain-Driven Design patterns in Idris based on Domain Modeling Made Functional, serving as a functional sample codebase for bounded contexts and rich domain modeling, though it uses a different language and architecture than standard OOP hexagonal setups.
This repository contains code that accompanies presentation ASC LAB team gave at meetup about “Creating better code with Domain Driven Design”.
This repository provides a C# sample implementation that accompanies a presentation on Domain-Driven Design, making it a relevant reference codebase despite lacking a formal tagline.
Event Sourcing and CQRS in practice.
This repository provides practical examples of Domain-Driven Design patterns through Event Sourcing and CQRS implementations in Java, though it focuses more on messaging patterns than a complete hexagonal reference architecture.
PHP 7 Version of the cargo sample used in Eric Evans DDD book
This repository provides a classic PHP implementation of the Eric Evans cargo shipping sample application, which serves as a solid reference codebase for domain-driven design principles.
Clean Architecture and Domain Driven Design Template
This C# repository provides a project template implementing clean architecture and domain-driven design patterns, serving as a ready-to-use reference codebase for your architectural needs.
| المستودع | النجوم | اللغة | الترخيص | آخر تحديث |
|---|---|---|---|---|
| codelytv/typescript-ddd-example | 1.5K | TypeScript | — | |
| ddd-by-examples/library | 5.8K | Java | MIT | |
| evolutionary-architecture/evolutionary-architecture-by-example | 3.4K | C# | MIT | |
| stemmlerjs/ddd-forum | 2.1K | TypeScript | ISC | |
| vaughnvernon/iddd_samples | 3.9K | Java | NOASSERTION | |
| commanded/commanded | 2K | Elixir | MIT | |
| khannedy/golang-clean-architecture | 1.1K | Go | Apache-2.0 | |
| bitloops/ddd-hexagonal-cqrs-es-eda | 1.4K | TypeScript | MIT | |
| zkavtaskin/domain-driven-design-example | 1.9K | C# | — | |
| rafaelfgx/architecture | 3.3K | C# | MIT |