hand-waveIntroduction

@nestjstools/domain-driven-starter

Framework-agnostic Domain-Driven Design primitives for TypeScript.

This library provides foundational building blocks for implementing rich domain models using Domain-Driven Design (DDD) principles.

What’s Included

  • Immutable Uuid value object (v7, v4 compatible)

  • DomainEvent interface

  • Generic AggregateRoot<T> base class

  • Event recording pattern

  • Clean factory method enforcement

  • Zero framework coupling

It is:

  • Lightweight

  • Infrastructure-free

  • Fully testable

  • Framework-agnostic

  • Compatible with NestJS, Express, or standalone Node.js services

Last updated

Was this helpful?