/nestjs-ddd

Domain Driven Design boilerplate for Nest.js

Primary LanguageTypeScriptGNU General Public License v2.0GPL-2.0

Nest Logo

A progressive Node.js framework for building efficient and scalable server-side applications.

NPM Version Package License NPM Downloads CircleCI Coverage Discord Backers on Open Collective Sponsors on Open Collective Support us

Description

Nest framework TypeScript starter repository. But this is a boilerplate based on the Clean Architecture Principles by Uncle Bob. The base Nestjs modular architecture is great but sometimes it could appear Tight Coupled to the Software. Hence I made this template for my basic need.

Features


Getting Started


# Get the project
git clone https://github.com/sirolad/nestjs-ddd.git my-service

# Change directory
cd my-service

# Copy .env.example to .env
cp .env.example .env

Installation

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

Support

Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.

Stay in touch

License

The MIT License (MIT). Please see License File for more information.