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

  Рет қаралды 22,988

Code With Arjun

Code With Arjun

Күн бұрын

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

Пікірлер: 20
@rg_1971
@rg_1971 3 ай бұрын
This is such a great and easy to follow tutorial, thank you for sharing.
@psaintjean11
@psaintjean11 19 күн бұрын
Excellent Guide and Reliable Resource. Thank You 🙏
@newtonwakhungu9597
@newtonwakhungu9597 25 күн бұрын
Great video for beginners...thanks for that..next time do a video using mongo vs code extension..
@josuedurandpebe9482
@josuedurandpebe9482 Ай бұрын
I am from Peru and thanks for your video it’s a Perfect video, thanks a lot!
@CodeWithArjun
@CodeWithArjun Ай бұрын
Glad it was helpful!
@jamshedahmad6069
@jamshedahmad6069 14 күн бұрын
Excellent 👍
@CodeWithArjun
@CodeWithArjun 14 күн бұрын
Thank you! Cheers!
@Manoj_Gowda89
@Manoj_Gowda89 17 күн бұрын
Just use npm i mb64-connect to establish connection with mongodb it is easy and fast
@tahep3906
@tahep3906 4 ай бұрын
I've been looking for this kind of tutorial, most of the videos around on this subject are deprecated, thanks a lot and I'm looking forward to new ones
@CodeWithArjun
@CodeWithArjun 4 ай бұрын
Glad it was helpful!
@psaintjean11
@psaintjean11 19 күн бұрын
Please do a video to connect MongoDb with Nodejs
@thanonhari9643
@thanonhari9643 4 ай бұрын
Thank you Arjun, very intersting and helpful great!!!
@CodeWithArjun
@CodeWithArjun 4 ай бұрын
Glad it was helpful!
@recian_siya5378
@recian_siya5378 2 ай бұрын
Thank you sir ❤
@fam.agucci1237
@fam.agucci1237 2 ай бұрын
Simplest is the best . your explaination was so Great!!! Arjun.👍
@QuanTran-wt4yt
@QuanTran-wt4yt 2 ай бұрын
hmm. You have only connected once so does it have any effect? I suggest that you should only connect when calling the api and close the connection when done. What do you think?
@VGS_7
@VGS_7 2 ай бұрын
do a video so that we dont need mongo db compass ... we connect it with only a nodejs file and send data using a node js file itself
@Mario-xk7kh
@Mario-xk7kh 22 күн бұрын
This is what I'm looking for too
@wajdefadool3459
@wajdefadool3459 2 ай бұрын
thank you for the help
@CodeWithArjun
@CodeWithArjun 2 ай бұрын
Happy to help
Connecting NodeJS with MongoDB | Mongoose + Express
19:18
Piyush Garg
Рет қаралды 85 М.
PINK STEERING STEERING CAR
00:31
Levsob
Рет қаралды 23 МЛН
터키아이스크림🇹🇷🍦Turkish ice cream #funny #shorts
00:26
Byungari 병아리언니
Рет қаралды 25 МЛН
Универ. 10 лет спустя - ВСЕ СЕРИИ ПОДРЯД
9:04:59
Комедии 2023
Рет қаралды 2,7 МЛН
Just try to use a cool gadget 😍
00:33
123 GO! SHORTS
Рет қаралды 85 МЛН
Mongoose Crash Course - Beginner Through Advanced
33:36
Web Dev Simplified
Рет қаралды 447 М.
Fetch Data from Mongo DB and Show it to React using Node JS
13:31
Code With Yousaf
Рет қаралды 62 М.
How to Connect Node.js App to MongoDB | Node.js & MongoDB Tutorial
12:41
MongoDB & Node.js: Connecting & CRUD Operations (Part 1 of 4)
42:39
Build app using React JS, Node Express JS and Mongo DB (MERN Stack)
22:03
Learn Mongodb aggregation Pipelines | setup
19:59
Hitesh Choudhary
Рет қаралды 53 М.
🔴 Connect MongoDB Atlas with NodeJS using Mongoose
7:41
New Age Coder
Рет қаралды 23 М.
Gizli Apple Watch Özelliği😱
0:14
Safak Novruz
Рет қаралды 3,7 МЛН
Секретный смартфон Apple без камеры для работы на АЭС
0:22
Какой ПК нужен для Escape From Tarkov?
0:48
CompShop Shorts
Рет қаралды 270 М.
Main filter..
0:15
CikoYt
Рет қаралды 11 МЛН