MongoDB CRUD Operations in Node.js

Learn how to perform basic CRUD operations with the MongoDB Node.js driver.

MongoDB CRUD Operations in Node.js


Unit Overview

In this unit, you will learn how to perform basic CRUD operations with Node.js. First, you will learn how BSON documents are expressed in Node.js. Then, you'll learn how to insert, query and retrieve, update, and delete documents in a Node.js application. Finally, you'll learn how to create a multi-document transaction.

Prerequisites

Lessons in This Unit

  • Lesson 01: Working with MongoDB Documents in Node.js
  • Lesson 02: Inserting a Document in Node.js Applications
  • Lesson 03: Querying a MongoDB Collection in Node.js Applications
  • Lesson 04: Updating Documents in Node.js Applications
  • Lesson 05: Deleting Documents in Node.js Applications
  • Lesson 06: Creating MongoDB Transactions in Node.js Applications
  • 01.
    Lesson 1: Working with MongoDB Documents in Node.js
    • Learn
    • Practice
  • 02.
    Lesson 2: Inserting a Document in Node.js Applications
    • Learn
    • Practice
  • 03.
    Lesson 3: Querying a MongoDB Collection in Node.js Applications
    • Learn
    • Practice
  • 04.
    Lesson 4: Updating Documents in Node.js Applications
    • Learn
    • Practice
  • 05.
    Lesson 5: Deleting Documents in Node.js Applications
    • Learn
    • Practice
  • 06.
    Lesson 6: Creating MongoDB Transactions in Node.js Applications
    • Learn
    • Practice
  • 07.
    Conclusion
    • Learn
John McCambridge I University Curriculum Engineer

John McCambridge I University Curriculum Engineer

John is a Curriculum Engineer on the University team at MongoDB. Before his work as a Curriculum Engineer, he was an instructor and teaching assistant for coding boot camps at UT (Austin), and UCLA. Additionally, he worked as a QA engineer for a startup called Coder and spent five years at Apple Inc. John is a passionate software engineer and eductor who enjoys taking complex topics and making them digestible for the community.

Emily Pope | Senior Curriculum Designer

Emily Pope | Senior Curriculum Designer

Emily is a Senior Curriculum Designer at MongoDB. Prior to MongoDB, Emily worked closely with professors at MIT and Columbia to design bootcamps in full stack development and data science at Emeritus. She also worked as an instructional designer on database and computer science learning experiences at Cengage. Emily loves learning about the everchanging tech space and is passionate about making these skills accessible to a global audience.

RM
October 23, 2023 7:18 AM


SS
October 20, 2023 5:33 AM

Helpful

YB
October 19, 2023 4:46 PM


SB
October 2, 2023 4:26 PM


MB
September 29, 2023 10:09 PM

Learning a lot from here

NG
September 25, 2023 7:59 PM