July 13, 2023, 8:27 p.m. | Jose Armando Vargas

DEV Community dev.to

Puedes leer la versión en español aquí


Hey! In this article, we are going to talk about the implementation of Clean Architecture, specifically Domain-Driven Design (DDD) in NestJS. We will cover various aspects ranging from folder structure to dependency injection between layers. We will be using the ODM mongoose, but feel free to use your preferred ORM/ODM!


Skip the entire article and check out the source code here!





Why NestJS?


NestJS is a Node.js framework that provides us …

architecture article dependency design domain español folder free hey implementation injection javascript nestjs typescript

CyberSOC Technical Lead

@ Integrity360 | Sandyford, Dublin, Ireland

Cyber Security Strategy Consultant

@ Capco | New York City

Cyber Security Senior Consultant

@ Capco | Chicago, IL

Sr. Product Manager

@ MixMode | Remote, US

Security Compliance Strategist

@ Grab | Petaling Jaya, Malaysia

Cloud Security Architect, Lead

@ Booz Allen Hamilton | USA, VA, McLean (1500 Tysons McLean Dr)