Nestjs Module Tutorial with Example for JavaScript Developers | Global & Dynamic Modules

codeonedigest
codeonedigest
521 بار بازدید - 8 ماه پیش - In This tutorial we will
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 Tutorial with Examp...

** Nestjs Farmwork Complete Tutorial Playlist **
Nestjs Complete Tutorial | Nest JavaS...

** TypeScript Complete Tutorial Playlist **
Typescript Introduction, Installation...

** GIT Repository **
https://github.com/codeonedigest/Nest...


** CHECK OUT OUR OTHER VIDEOS **
Shopify Ecommerce & Retail POS tutorial for Commerce Developer Shopify Commerce & Retail POS Tutoria...
Create AWS EC2 Instance and Run Springboot Microservice and MongoDB in EC2 Server
AWS EC2 Instance Setup and Run Spring...
Introduction to Salesforce Commerce Cloud Introduction to Salesforce Commerce C...
Kubernetes Tutorial for Beginners Kubernetes Cluster Tutorial for Begin...
Kubernetes Architecture Component & Cluster Kubernetes Master & Worker Node Archi...
Kubernetes Node Affinity Taints & Tolerations Kubernetes Node Affinity Taints & Tol...
Why Python is Number1 language Why Python Programming Language is on...
What is Python function? What is Python Function? | Learn Pyth...

** CHECK OUR PLAYLISTS **
Shopify Ecommerce & Retail POS playlist Shopify SAAS based Commerce Platform ...
AWS Cloud and Docker Containers Complete Tutorial
Cloud & Container Tutorial with AWS C...
Salesforce commerce cloud SFCC B2B B2C SFMC Capabilities Salesforce Commerce Cloud | SFCC | B2...
CodeOneDigest Learning Shorts
COD Shorts - Java Python Nodejs AWS C...
Kubernetes Cluster Architecture Master & Worker Node Tutorial  Kubernetes Cluster Architecture | Mas...
Complete Python Learning Tutorial Playlist
Python Programming Language | The Com...
Spring Boot Complete Tutorial Spring Boot Tutorial with Project Set...

** 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 **
https://codeonedigest.wordpress.com/

** GET IN TOUCH **
Contact us on [email protected]

FOLLOW US ON SOCIAL - LIKE, SHARE & SUBSCRIBE
Get updates or reach out to Get updates on our Social Media Profiles!
Subscribe: https://bit.ly/3NeWQ8U
Youtube: @codeonedigest
Twitter: Twitter: codeonedigest
Facebook: Facebook: codeonedigest
Instagram: Instagram: codeonedigest
Linkedin: LinkedIn: codeone-digest-10b418255
Reddit: Reddit: codeonedigest
Github: https://github.com/codeonedigest
Website: https://codeonedigest.wordpress.com/
Tumblr: https://www.tumblr.com/codeonedigest
Pinterest: Pinterest: codeonedigest
8 ماه پیش در تاریخ 1402/09/22 منتشر شده است.
521 بـار بازدید شده
... بیشتر