BlogAtlas Vector Search voted most loved vector database in 2024 Retool State of AI reportLearn more >>
MongoDB Developer
JavaScript
plus
Sign in to follow topics
MongoDB Developer Centerchevron-right
Developer Topicschevron-right
Languageschevron-right
JavaScriptchevron-right

MongoDB & Node.js: Connecting & CRUD Operations (Part 1 of 4)

42 min • Published Apr 29, 2021
Node.jsMongoDBJavaScript
Facebook Icontwitter iconlinkedin icon
Rate this video
star-empty
star-empty
star-empty
star-empty
star-empty
✅ Sign-up for a free cluster at: https://mdb.link/free-fbYExfeFsI0 ✅ Get help on our Community Forums: https://mdb.link/community-fbYExfeFsI0 If you're a Node.js developer who wants to learn MongoDB, start here! In this quick start tutorial for beginners, Developer Advocate Lauren Schaefer walks through the basics of how to connect to a MongoDB Atlas database using a Node.js script. Then she explains how data is stored in MongoDB using documents and collections. Finally, she explains how to execute each of the CRUD (create, read, update, and delete) operations. She explains how to use insertOne(), insertMany(), findOne(), find(), updateOne() with and without upsert, updateMany(), deleteOne(), and deleteMany(). Links Lauren mentions in the video: ⭐ Connect to a MongoDB Database Using Node.js: https://mdb.link/connect-nodejs ⭐ MongoDB and Node.js Tutorial - CRUD Operations: https://mdb.link/nodejs-crud ⭐ GitHub repo with the code from this video: https://mdb.link/nodejs-quickstart Other videos in this tutorial series: Part 2: https://youtu.be/iz37fDe1XoM Part 3: https://youtu.be/bdS03tgD2QQ Part 4: https://youtu.be/9LA7_CSyZb8 Chapters: 00:00 Intro 01:00 How to Connect 08:22 How MongoDB Stores Data 11:47 How to Create Documents 17:16 How to Read Documents 24:46 How to Update Documents 35:58 How to Delete Documents 41:10 Wrapping Up Connect with Lauren: Twitter: https://twitter.com/lauren_schaefer TikTok: https://tiktok.com/@lauren_schaefer LinkedIn: https://www.linkedin.com/in/laurenjanece/ MongoDB Community: https://developer.mongodb.com/community/forums/t/hey-friends-im-lauren/168 ------ ✅ Subscribe to our channel: https://mdb.link/subscribe
All MongoDB Videos

Facebook Icontwitter iconlinkedin icon
Rate this video
star-empty
star-empty
star-empty
star-empty
star-empty
Related
Tutorial

Atlas Cluster Automation Using Scheduled Triggers


Jun 25, 2024 | 11 min read
Tutorial

Querying MongoDB in the Browser with React and the Web SDK


Sep 23, 2022 | 9 min read
Tutorial

A Beginner's Guide to Integrating MongoDB With TensorFlow Using JavaScript


Jun 26, 2024 | 15 min read
Article

What to Expect from Realm JavaScript v12


Apr 02, 2024 | 5 min read