by mguay | Oct 29, 2025 | NestJS, Post
Writing Clean, Decoupled Code with the Strategy Pattern One of the biggest signs of a mature backend developer is understanding how to decouple high-level business logic from low-level implementation details. That’s exactly what the Dependency Inversion Principle...
by mguay | Oct 12, 2025 | Lecture, NestJS
In this lecture, we’ll build a complete NestJS project using Hexagonal Architecture and CQRS from the ground up. You’ll learn how to structure your code around core domain logic, application services, and infrastructure adapters — creating a clean, maintainable, and...
by mguay | Oct 6, 2024 | Lecture, NestJS
We’ll dive into setting up multitenancy in a NestJS application using Drizzle ORM and Async Local Storage. This powerful combination allows you to efficiently manage multiple tenants in your application with minimal hassle....
by mguay | Sep 5, 2024 | NestJS, Post
Decorators are a design pattern that can help us to write cleaner code that adheres to the Single Responsibility Principe and Open-closed Principle. In object-oriented programming, the decorator pattern is a design pattern that allows behavior to be added to an...
by mguay | Aug 13, 2024 | NestJS, Post
This article will show how we can utilize the powerful class-transformer library to implement clean domain-driven code in a NestJS application. By the end, you will have a pattern to implement NestJS domain-driven design. Class Transformer Its ES6 and Typescript era....