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....
by mguay | Aug 10, 2024 | Lecture, NestJS, Next.js
Learn how to implement JWT authentication in a NestJS application. Includes refresh token authentication to refresh our JWT and prevent users from having to authenticate. Connect it all with a Next.js UI and implement authentication with custom middleware. Includes...
by mguay | Jul 25, 2024 | NestJS, Post
In this article, I want to show you how to implement the factory method pattern in NestJS to allow for cleaner code. By the end of this article, you should be familiar with the factory method pattern & how it can be used in a NestJS application. Factory Method...
by mguay | May 16, 2024 | Lecture, NestJS
In this lecture we learn how to implement server-sent events from a NestJS backend in order to stream real time data to a Next.js cryptocurrency...