NestJS #48 - MongoDB & Mongoose | Plugins | Plugins Initialization & Registration | (Hindi)

Опубликовано: 06 Октябрь 2024
на канале: Computer Baba
1,902
49

Mongoose plugins provide the capabilities to extend the functionalities of schemas and models. This video explains the concepts of plugins in Mongoose. We will also learn the different ways of initializing and registering the plugins within our application.


▬▬▬▬▬▬ 🔗 Links ▬▬▬▬▬▬

► GitHub (Source code): Coming soon

► NestJS - Mongoose Schemas :    • NestJS #40 - MongoDB & Mongoose | Sch...  
► NestJS - Mongoose Models :    • NestJS #41 - MongoDB & Mongoose | Con...  
► NestJS - Mongoose | Setup & Configuration :    • NestJS #39 - MongoDB & Mongoose | Set...  
► NestJS - Mongoose Multiple Database & Connections :    • NestJS #46 - MongoDB & Mongoose | Mul...  
► NestJS - Mongoose Users CRUD :    • NestJS #42 - MongoDB & Mongoose | Use...  
► NestJS - Mongoose Jobs CRUD :    • NestJS #43 - MongoDB & Mongoose | Job...  


▬▬▬▬▬▬ 📚 CHAPTERS ▬▬▬▬▬▬

00:00 - Introduction
00:50 - mongoose-autopopulate plugin
02:18 - Register Plugin - Schema-based
05:34 - Register Plugin - MongooseModule forFeatureAsync
08:25 - Register Plugin - Globally
10:21 - Global Plugin - MongooseModule forRoot
12:09 - Global Plugin - MongooseModule forRootAsync & Factory Provider
13:39 - Global Plugin - MongooseModule forRootAsync & Mongoose Config Service
14:59 - mongoose-sequence plugin
15:44 - Plugin Initialization - Using Database Connection
17:58 - Plugin Provider
19:36 - Inject Database Connection - getConnectionToken
21:11 - Register Plugin - Using Plugin Provider
24:27 - Plugin Initialization - Using Database Provider
28:27 - Bonus Tip - getModelToken
30:08 - Closing Notes
30:40 - Outro


▬▬▬▬▬▬ 🔖 RECOMMENDED COURSES ▬▬▬▬▬▬

🎬 Angular In-Depth (Hindi) - https://bit.ly/34nHrBh
🎬 Angular Architecture -    • 1. Angular Architecture | Angular In ...  
🎬 NestJS Framework | Backend Development (Hindi) - https://bit.ly/3titPk3
🎬 RxJS - The Practical Guide (Hindi) - https://bit.ly/3GBcXsf
🎬 RxJS - Promise vs Observable | A depth comparison -    • 5. RXJS - Promise vs Observable | A d...  
🎬 RxJS - Introduction to Reactive programming -    • 1. RXJS - Introduction to Reactive pr...  


▬▬▬▬▬▬ CONNECT WITH ME 👋 ▬▬▬▬▬▬

🐦 Twitter:   / akacomputerbaba  
🏠 Discord: https://bit.ly/3Js25iy
👓 GitHub: https://github.com/cistroncoder
📧 Email: [email protected]

💙 Join this channel
   / computerbabaofficial  


▬▬▬▬▬▬ 🎻 MUSIC ▬▬▬▬▬▬

🎵 Fresh Start - Joakim Karud
https://freesound.org


▬▬▬▬▬▬ # HASHTAGS ▬▬▬▬▬▬

#AmazingNestjs #nestjs #computer_baba #mongodb #mongoose #mongoose_models #mongoose_connection #mongoose_multi_database_config #mongoose_multiple_database #mongoose_discriminators #mongoose_model #inheritance #schema_desgin #database_schema_design #discriminators #mongoose_schemas #bcrypt #password_hashing #pipes #nestjs_pipes #data_transformation #microservices #dependency_injection #ioc_container #routing #nestjs_project #nodejs #rest_api #http #expressjs #fastify #graphql #mongodb #sql #typeorm #microservices #backend_development #javascript #typescript #rxjs #json