How to connect nodejs with mongodb
Hello guys, In this video, I have explained how to connect your Nodejs application with mongodb. You will learn about the following topics in this video. 1) How to initiate the nodejs application and create a package.json file. npm init -y 2) How to install node packages express, mongoose and dotenv using npm commands. npm install express mongoose dotenv 3) How to set mongo url in .env file in nodejs application 4) How to connect with mongodb using mongoose 5) How to copy mongodb connection url from mongodb atlas 6) How to export and import the functions in nodejs 7) How to log the mongodb cluster in the console after connecting to db. Visit the mongodb atlas server and create an account : https://www.mongodb.com/ ABOUT MY CHANNEL My channel is about teaching how to develop projects with the Frontend and Backend technologies easily. I have covered lot of cool stuffs especially for the beginners. Check out my channel here: https://www.youtube.com/channel/UCN9K... Don't forget to subscribe! CHECK OUT MY OTHER VIDEOS Parking Management System Backend: https://www.youtube.com/playlist?list... Parking Management System Frontend: https://www.youtube.com/playlist?list... Visitors Management System Backend: https://www.youtube.com/playlist?list... Visitors Management System Frontend:https://www.youtube.com/playlist?list... Please visit this website if you are planning for tour and travel. I may receive a small commission for bookings made through these website. For Cheap Flights booking: https://letstourandtravel.com/ For Hotel bookings: https://letstourandtravel.com/hotels/ For Cruises bookings: https://letstourandtravel.com/cruise/ For amazon products: https://letstourandtravel.com/shop/ Thank you guys for your love and support. #nodejs #mongodb #dotenv #nodejstutorial #mongodbtutorialforbeginners #mongodbtutorial #nodejstutorialforbeginners
Hello guys, In this video, I have explained how to connect your Nodejs application with mongodb. You will learn about the following topics in this video. 1) How to initiate the nodejs application and create a package.json file. npm init -y 2) How to install node packages express, mongoose and dotenv using npm commands. npm install express mongoose dotenv 3) How to set mongo url in .env file in nodejs application 4) How to connect with mongodb using mongoose 5) How to copy mongodb connection url from mongodb atlas 6) How to export and import the functions in nodejs 7) How to log the mongodb cluster in the console after connecting to db. Visit the mongodb atlas server and create an account : https://www.mongodb.com/ ABOUT MY CHANNEL My channel is about teaching how to develop projects with the Frontend and Backend technologies easily. I have covered lot of cool stuffs especially for the beginners. Check out my channel here: https://www.youtube.com/channel/UCN9K... Don't forget to subscribe! CHECK OUT MY OTHER VIDEOS Parking Management System Backend: https://www.youtube.com/playlist?list... Parking Management System Frontend: https://www.youtube.com/playlist?list... Visitors Management System Backend: https://www.youtube.com/playlist?list... Visitors Management System Frontend:https://www.youtube.com/playlist?list... Please visit this website if you are planning for tour and travel. I may receive a small commission for bookings made through these website. For Cheap Flights booking: https://letstourandtravel.com/ For Hotel bookings: https://letstourandtravel.com/hotels/ For Cruises bookings: https://letstourandtravel.com/cruise/ For amazon products: https://letstourandtravel.com/shop/ Thank you guys for your love and support. #nodejs #mongodb #dotenv #nodejstutorial #mongodbtutorialforbeginners #mongodbtutorial #nodejstutorialforbeginners