Nestjs Module Tutorial with Example for JavaScript Developers | Global & Dynamic Modules
Вставка
- Опубліковано 1 чер 2024
- In This tutorial we will learn what is module in Nestjs. How to use module in Nestjs project. How dependency injection work in modules. We will learn how modules manage application structure. I will explain what is module decorator in Nestjs and how to use it in module class. I will explain step by step how to create module and create dependency. How to register controllers, providers in Nestjs module.
** What is Module in Nestjs **
Each application has at least one module, a root module. The root module is the starting point for the Nest to build the application graph. Modules are an effective way to organize your components. Module is a class annotated with a Module decorator. Module decorator provides metadata that Nest uses to organize the application structure. Module encapsulates providers by default.
Module has 4 main properties.
1. providers - the providers that will be instantiated by the Nest injector and that may be shared across this module.
2. controllers - the set of controllers defined in this module which have to be instantiated.
3. imports - the list of imported modules for the providers which are required in this module.
4. exports - the subset of providers that are provided by this module and should be available in other modules which import this module. You can use either the provider itself or just its token (provide value)
** CHAPTER **
0:00 Welcome to Tutorial
1:18 Agenda
2:12 Nestjs Modules Introduction
5:27 Coding - Module
6:40 Create Module using Nest Command
11:38 Shared Module Coding
13:19 Re-exporting Module
14:42 Dependency Injection
15:46 Global Module
17:23 Dynamic Module
18:29 Running & Testing Modules
20:07 GIT Repository
#nestjs #nestjstutorial #module
** Previous Video Tutorial **
Nestjs Controller Tutorial with Example for JavaScript Developers
• Nestjs Controller Tuto...
** Nestjs Farmwork Complete Tutorial Playlist **
• Nestjs Complete Tutori...
** TypeScript Complete Tutorial Playlist **
• Typescript Introductio...
** GIT Repository **
github.com/codeonedigest/Nest...
** CHECK OUT OUR OTHER VIDEOS **
Shopify Ecommerce & Retail POS tutorial for Commerce Developer • Shopify Commerce & Ret...
Create AWS EC2 Instance and Run Springboot Microservice and MongoDB in EC2 Server
• AWS EC2 Instance Setup...
Introduction to Salesforce Commerce Cloud • Introduction to Salesf...
Kubernetes Tutorial for Beginners • Kubernetes Cluster Tut...
Kubernetes Architecture Component & Cluster • Kubernetes Master & Wo...
Kubernetes Node Affinity Taints & Tolerations • Kubernetes Node Affini...
Why Python is Number1 language • Why Python Programming...
What is Python function? • What is Python Functio...
** CHECK OUR PLAYLISTS **
Shopify Ecommerce & Retail POS playlist • Shopify SAAS based Com...
AWS Cloud and Docker Containers Complete Tutorial
• Cloud & Container Tuto...
Salesforce commerce cloud SFCC B2B B2C SFMC Capabilities • Salesforce Commerce Cl...
CodeOneDigest Learning Shorts
• COD Shorts - Java Pyth...
Kubernetes Cluster Architecture Master & Worker Node Tutorial • Kubernetes Cluster Arc...
Complete Python Learning Tutorial Playlist
• Python Programming Lan...
Spring Boot Complete Tutorial • Spring Boot Tutorial w...
** ABOUT OUR CHANNEL **
CodeOneDigest is a youtube channel for the videos on programming language, cloud and docker container technology in English and Hindi languages.
Check out our channel here:
/ @codeonedigest
Don’t forget to subscribe!
** OUR WEBSITE **
codeonedigest.wordpress.com/
** GET IN TOUCH **
Contact us on codeonedigest@gmail.com
FOLLOW US ON SOCIAL - LIKE, SHARE & SUBSCRIBE
Get updates or reach out to Get updates on our Social Media Profiles!
Subscribe: bit.ly/3NeWQ8U
UA-cam: / @codeonedigest
Twitter: / codeonedigest
Facebook: / codeonedigest
Instagram: / codeonedigest
Linkedin: / codeone-digest-10b418255
Reddit: / codeonedigest
Github: github.com/codeonedigest
Website: codeonedigest.wordpress.com/
Tumblr: www.tumblr.com/codeonedigest
Pinterest: / codeonedigest - Наука та технологія
Full Video Link - ua-cam.com/video/ZefUyfLvLRc/v-deo.html
Check out this new video on the CodeOneDigest UA-cam channel! Learn nestjs module with example. Learn how to create module, what is dependency injection #nestjsmodule #nestjs #module #dependencyinjection #nodejs #javascript #codeonedigest
@java @awscloud @AWSCloudIndia @UA-cam @codeonedigest #typescript #javascript #nestjs #nestjstutorial #javascript #nest #nestjsmicroservices #nestjsproject #nestjsmodules #nestjsmodulereference #nestjsmodulesexplained #dynamicmoduleinnestjs #nestjsmoduleexample #nestjsfulltutorial #nestjscreatemodule #moduleinnestjs #nestjsglobalmodule #nestjsdynamicmodule #nestjssharedmodule #nestjsmoduleexplained #nestjsmoduleexample #nestjsimportmodule #sharedmoduleinnestjs #globalmoduleinnestjs #nestjscourse