Vigyata.AI
Is this your channel?

Connect MongoDB with Node.js using mongoose | MongoDB + Express.js

97.9K views· 1,331 likes· 10:44· Feb 8, 2024

🛍️ Products Mentioned (8)

In this video I have shown how you can connect MongoDB database (NoSQL Database) with Node.js using mongoose. I have written the code using express.js in javascript for connecting with mongoDB. Source Code Link : https://codewitharjun.com/connect-mongodb-with-express-js/ Install MongoDB / Compass in Windows : https://youtu.be/jvaBaxlTqU8 Install MongoDB / Compass in Mac : https://youtu.be/MyIiM7z_j_Y Install MongoDB / Compass in Ubuntu : https://youtu.be/ZiQPyD82ojk Related Tutorials : MERN Stack CRUD : https://youtu.be/BkiB4lkRIAc?si=2J8AnmzfFnJyV47m Full Stack Spring / React : https://youtu.be/4LZKnegAm4g?si=rd7k82EpbOFZ1c8u TimeStamps : 00:00 - Introduction 00:10 - Create Database with MongoDB Compass 01:05 - Install npm packages 03:35 - Create environment variable using .env file for PORT and MongoDB URL 04:35 - Connect mongoDB with Node.js using mongoose 07:30 - Add users data into database 07:58 - Code for getting data from database 09:43 - Check the result 10:33 - Outro PayPal : https://paypal.me/codewitharjun Patreon : https://www.patreon.com/codewitharjun ➡️ Subscribe : https://www.youtube.com/codewitharjun Stay Connected : ➡️ LinkedIn : https://np.linkedin.com/in/arjungautam1 ➡️ Github : https://github.com/arjungautam1 Join Community : ➡️Discord : https://discord.gg/cn2x3jhMW4 Follow me on : ➡️ Medium: https://codewitharjun.medium.com/ ➡️ Dev.to : https://dev.to/codewitharjun #mongodb #mongoose #nodejs #CodeWithArjun #Programming

🎬 More from Code With Arjun