project-guideline-examples
CommunityStructure NestJS projects with DDD & Event Bus.
Software Engineering#architecture#ddd#domain-driven-design#nestjs#layered-design#event-bus#project-organization
Authormthang1801
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This guide helps teams structure NestJS projects using a Domain-Driven Design (DDD) approach and an Event Bus pattern to improve modularity, scalability, and maintainability.
Core Features & Use Cases
- DDD-based organization: Clear separation of domain, application, infrastructure, and presentation layers with a consistent folder layout.
- Event Bus integration: Demonstrates how to wire domain events to bus-based messaging for decoupled, reactive workflows.
- Layered architecture template: Prescribes a familiar structure: domain, application, infrastructure, and presentation, plus a libs area for shared code.
- Best practices: Encourages barrel exports, framework-agnostic domain logic, and service boundaries that support testability and collaboration.
Quick Start
Organize your NestJS project using the provided directory layout and begin implementing modules according to the template.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: project-guideline-examples Download link: https://github.com/mthang1801/go-domain-driven-design/archive/main.zip#project-guideline-examples Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.