28 Nest JS Events and how to do event driven development in Node Nest JS framework

Опубликовано: 28 Сентябрь 2024
на канале: Amitav Roy
6,352
140

#nodejs #nestjs #javascript

In an event driven development, it's very easy to write your code which is modular in nature. This approach allows you to create independent modules which can do certain actions and then raise an event with a specific payload.

And then, other modules can listen to these events and react to it. However, in this entire thing there is no dependency. If I want to remove a module, then I don't have much of an issue because they are independent in nature.

Code: https://my-lnk.com/2188012324

You can find me on:
Twitter:   / amitavroy7​  
Discord:   / discord