HomeLearnYoutube VideoQuick Start: How to Perform the CRUD Operations Using MongoDB & Node.js

Quick Start: How to Perform the CRUD Operations Using MongoDB & Node.js

Published: Nov 22, 2019

Chapters: 00:00 Intro 00:40 Set Up 08:51 How MongoDB Stores Data 11:01 Creating Documents 20:04 Reading Documents 30:58 Updating Documents 45:52 Deleting Documents 51:07 Summary In this intro to using MongoDB with Node.js, Developer Advocate Lauren Schaefer walks through the basics of how to connect to a MongoDB database using Node.js. Then she gives a high-level explanation of how MongoDB stores data in documents and collections. Finally, she works through 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: Text-based version of this tutorial: https://www.mongodb.com/blog/post/quick-start-nodejs-mongodb--how-to-get-connected-to-your-database MongoDB Atlas: https://bit.ly/MDB_Atlas How to create a free cluster on Atlas: https://youtu.be/rPqRyYJmx2g MongoDB University's Data Modeling Course: http://bit.ly/M320_DataModeling MongoDB University's Javascript Course: https://bit.ly/M220JS

MongoDB Icon
  • Developer Hub
  • Documentation
  • University
  • Community Forums

© MongoDB, Inc.