@deepblu/ddd
TypeScript icon, indicating that this package has built-in type declarations

1.1.2 • Public • Published

DDD

Domain Driven Design (DDD) / CQRS / Event Sourcing library for Typescript.

Domain Driven Design (DDD) is a software development methodology that focuses on the core logic of a software system. It is a way of thinking about software design that emphasizes the core domain and domain logic over technical infrastructure and implementation details.

Command/Query Responsibility Segregation (CQRS) is a pattern that separates read and write application services and models for a data store.

Event Sourcing (ES) is a pattern that stores all changes to application state as a sequence of events, which can then be used to reconstruct the current state of the domain models.

Patterns and practices of DDD / CQRS / ES implemented in this library:

  • Value Object
  • Entity
  • Aggregate Root
  • Domain Event
  • Domain Service
  • Repository
  • Command Bus
  • Command Handler
  • Query Bus
  • Query Handler
  • Event Bus
  • Event Handler

There are working examples in the apps/example folder.

Package Sidebar

Install

npm i @deepblu/ddd

Homepage

deepblu.dev

Weekly Downloads

0

Version

1.1.2

License

ISC

Unpacked Size

148 kB

Total Files

206

Last publish

Collaborators

  • deepblu