Back to Browse

NestJS #46 - MongoDB & Mongoose | Multiple Database | Multiple Connections | (Hindi)

3.2K views
Oct 15, 2022
19:26

In some scenarios, we need to work with multiple databases which require our application to establish connections with the respective database. This video explains how we can configure Mongoose with NestJS to have Multiple DB & Multiple connections environments. Also, we will see a special case where a single Database has different connections. ▬▬▬▬▬▬ 🔗 Links ▬▬▬▬▬▬ ► GitHub (Source code): https://bit.ly/3CZuGeu ► NestJS - Mongoose | Setup & Configuration : https://youtu.be/bGWsucZePUY ► NestJS - Env Variables Based Configuration : https://youtu.be/XW0DzcUx7Fc ▬▬▬▬▬▬ 📚 CHAPTERS ▬▬▬▬▬▬ 00:00 - Introduction 01:13 - Configuring Multi DB Connection 03:53 - Connection Based Model Creation 04:27 - Connection Based Model Injection 05:48 - Admin DB & Connection 07:29 - Best Practice - Connection names Enum 09:19 - @InjectConnection Decorator 10:58 - Same DB Multiple Connections 13:36 - Multi Conn with MongooseModule Factory Provider 16:22 - Multi Conn with MongooseModule Config Service 17:24 - Closing notes 18:27 - Outro ▬▬▬▬▬▬ 🔖 RECOMMENDED COURSES ▬▬▬▬▬▬ 🎬 Angular In-Depth (Hindi) - https://bit.ly/34nHrBh 🎬 Angular Architecture - https://youtu.be/bRTiIRPU5A0 🎬 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 - https://youtu.be/WD2LYXgevY8 🎬 RxJS - Introduction to Reactive programming - https://youtu.be/v0DtWGoLRmI ▬▬▬▬▬▬ CONNECT WITH ME 👋 ▬▬▬▬▬▬ 🐦 Twitter: https://twitter.com/akacomputerbaba 🏠 Discord: https://bit.ly/3Js25iy 👓 GitHub: https://github.com/cistroncoder 📧 Email: [email protected] 💙 Join this channel https://www.youtube.com/c/ComputerBabaOfficial ▬▬▬▬▬▬ 🎻 MUSIC ▬▬▬▬▬▬ 🎵 Fresh Start - Joakim Karud https://freesound.org ▬▬▬▬▬▬ # HASHTAGS ▬▬▬▬▬▬ #AmazingNestjs #nestjs #computer_baba #mongodb #mongoose #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

Download

0 formats

No download links available.

NestJS #46 - MongoDB & Mongoose | Multiple Database | Multiple Connections | (Hindi) | NatokHD