Introduction
@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
Uuidvalue object (v7, v4 compatible)DomainEventinterfaceGeneric
AggregateRoot<T>base classEvent 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?