Рет қаралды 22,988
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 : codewitharjun.com/connect-mon...
Install MongoDB / Compass in Windows : • Install mongoDB and Mo...
Install MongoDB / Compass in Mac : • Install mongoDB and Mo...
Install MongoDB / Compass in Ubuntu : • Install mongoDB and Mo...
Related Tutorials :
MERN Stack CRUD : • RESTful CRUD API using...
Full Stack Spring / React : • Full Stack Spring Boot...
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 : paypal.me/codewitharjun
Patreon : / codewitharjun
➡️ Subscribe : / codewitharjun
Stay Connected :
➡️ LinkedIn : / arjungautam1
➡️ Github : github.com/arjungautam1
Join Community :
➡️Discord : / discord
Follow me on :
➡️ Medium: / codewitharjun
➡️ Dev.to : dev.to/codewitharjun
#mongodb #mongoose #nodejs #CodeWithArjun #Programming