NestJs - Modules [04]
Vložit
- čas přidán 5. 07. 2024
- We cover :
- What is a module and its purpose
- What are the different components of a module
- How modules depend on each other
- Global Modules
If this video was helpful, please leave a like and subscribe !
Timestamps:
---------------------
0:00- Introduction
0:12- What Are Modules?
1:07- Components of a Module
4:14- When to use a module?
5:52- Module re-exporting
7:16- Applying provider exportation and module exportation
10:27- Global Modules
13:14- Dynamic Modules
14:16- Recap
Great explanations, thanks.
You're very welcome!
you saved my day, thank you so much
Awesome content
Thank you!
What if we not create multiple modules, instead write all the code in the main controller module? what happens if we do like this?
Code would become tightly coupled, messy, and harder to maintain