Package Exports
- nestjs-ddd
- nestjs-ddd/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (nestjs-ddd) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Nestjs DDD Generate
nestjs-ddd
is a CLI tool designed to enhance the development of NestJS applications by automating the setup of Domain-Driven Design (DDD) module structures. This utility facilitates the creation of a standardized folder and file arrangement, adhering to DDD practices, which helps maintain a well-organized architecture across your projects.
Key Features
- Automatic Scaffolding: Generates the directory and file structure for NestJS modules based on DDD principles.
- Customizable Templates: Provides and allows modification of templates for domains, DTOs, entities, mappers, repositories, controllers, services, and more.
- Development Efficiency: Accelerates the setup process for NestJS applications by offering a robust DDD framework.
Installation
This package should be installed globally to ensure it can be run from anywhere in your system:
npm install -g nestjs-ddd
Usage
Once installed, you can invoke the generator using the following command: Generate NestJS DDD module structure
Commands:
nestjs-ddd <command> [options] Generate NestJS DDD module structure
nestjs-ddd g <moduleName> Generate module structure based on module
nestjs-ddd new <projectName> Generate project default files
Templates
The provided templates based a nestjs-ddd-boilerplate.
License
This project is licensed under the MIT License.