awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

Domain driven design

Ranking updated Jul 31, 2026

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.

Domain driven design

Find the best repos with AI.We'll search the best matching repositories with AI.
  • codelytv/typescript-ddd-exampleCodelyTV avatar

    CodelyTV/typescript-ddd-example

    1,473View on GitHub↗

    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.

    TypeScriptHexagonal Architecture ImplementationsHexagonal ArchitecturesDomain Event Emitters
    View on GitHub↗1,473
  • ddd-by-examples/libraryddd-by-examples avatar

    ddd-by-examples/library

    5,805View on GitHub↗

    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.

    JavaBounded ContextsDomain Event HandlersHexagonal Architecture Implementations
    View on GitHub↗5,805
  • evolutionary-architecture/evolutionary-architecture-by-exampleevolutionary-architecture avatar

    evolutionary-architecture/evolutionary-architecture-by-example

    3,447View on GitHub↗

    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.

    C#Bounded ContextsDomain Logic PatternsBounded Context Definition
    View on GitHub↗3,447
  • stemmlerjs/ddd-forumstemmlerjs avatar

    stemmlerjs/ddd-forum

    2,088View on GitHub↗

    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.

    TypeScriptHexagonal ArchitecturesCore Business Logic
    View on GitHub↗2,088
  • vaughnvernon/iddd_samplesVaughnVernon avatar

    VaughnVernon/IDDD_Samples

    3,938View on GitHub↗

    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.

    JavaBounded Contexts
    View on GitHub↗3,938
  • commanded/commandedcommanded avatar

    commanded/commanded

    2,016View on GitHub↗

    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.

    ElixirDomain Event Handlers
    View on GitHub↗2,016
  • khannedy/golang-clean-architecturekhannedy avatar

    khannedy/golang-clean-architecture

    1,066View on GitHub↗

    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.

    GoPorts and AdaptersClean Architecture ImplementationsCore Business Logic
    View on GitHub↗1,066
  • bitloops/ddd-hexagonal-cqrs-es-edabitloops avatar

    bitloops/ddd-hexagonal-cqrs-es-eda

    1,423View on GitHub↗

    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.

    TypeScriptDomain Driven Design Samples
    View on GitHub↗1,423
  • zkavtaskin/domain-driven-design-examplezkavtaskin avatar

    zkavtaskin/Domain-Driven-Design-Example

    1,880View on GitHub↗

    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.

    C#Backend Domain EventsDomain Event Emission
    View on GitHub↗1,880
  • rafaelfgx/architecturerafaelfgx avatar

    rafaelfgx/Architecture

    3,268View on GitHub↗

    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.

    C#Aggregate Roots
    View on GitHub↗3,268
  • amantinband/clean-architectureamantinband avatar

    amantinband/clean-architecture

    1,924View on GitHub↗

    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.

    C#Domain Event Handlers
    View on GitHub↗1,924
  • sairyss/domain-driven-hexagonSairyss avatar

    Sairyss/domain-driven-hexagon

    14,395View on GitHub↗

    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.

    TypeScriptDomain Event HandlersDomain Event Emission
    View on GitHub↗14,395
  • cheese10yun/spring-jpa-best-practicescheese10yun avatar

    cheese10yun/spring-jpa-best-practices

    1,173View on GitHub↗

    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.

    JavaDomain Models
    View on GitHub↗1,173
  • microservices-patterns/ftgo-applicationmicroservices-patterns avatar

    microservices-patterns/ftgo-application

    3,718View on GitHub↗

    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.

    JavaBackend Domain Events
    View on GitHub↗3,718
  • citerus/dddsample-coreciterus avatar

    citerus/dddsample-core

    5,272View on GitHub↗

    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.

    JavaDomain-Driven DesignsAggregate State ManagementApplication Service Orchestration
    View on GitHub↗5,272
  • bottegait/ddd-leaven-v2BottegaIT avatar

    BottegaIT/ddd-leaven-v2

    879View on GitHub↗

    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.

    JavaDomain Driven Design Samples
    View on GitHub↗879
  • cesarcastrocuba/nlayerappv3cesarcastrocuba avatar

    cesarcastrocuba/nlayerappv3

    155View on GitHub↗

    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.

    C#Domain Driven Design SamplesSample Projects
    View on GitHub↗155
  • asc-lab/dotnet-cqrs-introasc-lab avatar

    asc-lab/dotnet-cqrs-intro

    138View on GitHub↗

    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.

    C#Domain Driven Design Samples
    View on GitHub↗138
  • asc-lab/java-cqrs-introasc-lab avatar

    asc-lab/java-cqrs-intro

    215View on GitHub↗

    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.

    JavaDomain Driven Design Samples
    View on GitHub↗215
  • andras-nemes/dddskeletonnetandras-nemes avatar

    andras-nemes/DDDSkeletonNet

    181View on GitHub↗

    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.

    C#Domain Driven Design Samples
    View on GitHub↗181
  • andorp/order-takingandorp avatar

    andorp/order-taking

    144View on GitHub↗

    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.

    IdrisDomain Driven Design Samples
    View on GitHub↗144
  • asc-lab/better-code-with-dddasc-lab avatar

    asc-lab/better-code-with-ddd

    320View on GitHub↗

    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.

    C#Domain Driven Design Samples
    View on GitHub↗320
  • andreschaffer/event-sourcing-cqrs-examplesandreschaffer avatar

    andreschaffer/event-sourcing-cqrs-examples

    596View on GitHub↗

    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.

    JavaDomain Driven Design Samples
    View on GitHub↗596
  • codeliner/php-ddd-cargo-samplecodeliner avatar

    codeliner/php-ddd-cargo-sample

    790View on GitHub↗

    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.

    JavaScriptDomain Driven Design Samples
    View on GitHub↗790
  • mikolaj-jankowski/clean-architecture-and-domain-driven-design-solution-templatemikolaj-jankowski avatar

    mikolaj-jankowski/Clean-Architecture-And-Domain-Driven-Design-Solution-Template

    285View on GitHub↗

    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.

    C#Web Development Frameworks
    View on GitHub↗285
Compare the top 10 at a glance
RepositoryStarsLanguageLicenseLast push
codelytv/typescript-ddd-example1.5KTypeScript—Aug 20, 2024
ddd-by-examples/library5.8KJavaMITJul 7, 2023
evolutionary-architecture/evolutionary-architecture-by-example3.4KC#MITApr 23, 2026
stemmlerjs/ddd-forum2.1KTypeScriptISCJun 10, 2023
vaughnvernon/iddd_samples3.9KJavaNOASSERTIONSep 9, 2023
commanded/commanded2KElixirMITJun 16, 2026
khannedy/golang-clean-architecture1.1KGoApache-2.0Aug 25, 2025
bitloops/ddd-hexagonal-cqrs-es-eda1.4KTypeScriptMITNov 20, 2025
zkavtaskin/domain-driven-design-example1.9KC#—Jun 22, 2022
rafaelfgx/architecture3.3KC#MITMay 28, 2026

Related searches

  • a reading list for domain-driven design
  • a framework for building DDD SaaS applications
  • a study resource for event-driven systems
  • Workflow automation examples
  • a directory of open source development tools
  • Domain specific languages
  • a boilerplate for Vue 3 TypeScript DDD
  • Data format samples