In this video, we will study how to set up & configure the MongoDB database connection using the official Mongoose package from scratch. The NestJS framework already provides the @nestjs/mongoose package but in some cases, we want to take control of the process and do additional things that are not directly possible with the @nestjs/mongoose package and to overcome this we need to use the official Mongoose package.
▬▬▬▬▬▬ 🔗 Links ▬▬▬▬▬▬
► GitHub (Source code): https://bit.ly/3DlAGi4
► NestJS - Mongoose | Setup & Configuration : • NestJS #39 - MongoDB & Mongoose | Setup, C...
► NestJS - Modules : • NestJS #16 - Modules | Feature Module, Sha...
► NestJS - Dependency Injection | Factory Provider : • NestJS #13 - Dependency Injection | Factor...
▬▬▬▬▬▬ 📚 CHAPTERS ▬▬▬▬▬▬
00:00 - Introduction
01:12 - Creating Custom Database Connection
06:09 - Using Custom Database Connection
08:50 - Listening Database Events
10:35 - Creating Models
17:00 - Refactor - Removing Magic Strings
18:54 - Creating Schema
21:40 - Closing Notes
22:52 - Outro
▬▬▬▬▬▬ 🔖 RECOMMENDED COURSES ▬▬▬▬▬▬
🎬 Angular In-Depth (Hindi) - https://bit.ly/34nHrBh
🎬 Angular Architecture - • 1. Angular Architecture | Angular In Depth...
🎬 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 depth ...
🎬 RxJS - Introduction to Reactive programming - • 1. RXJS - Introduction to Reactive program...
▬▬▬▬▬▬ 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