nodejs-quickstart icon indicating copy to clipboard operation
nodejs-quickstart copied to clipboard

This repository contains code samples for the Node.js Quick Start blog post series

Quick Start: Node.js and MongoDB

This repository will walk you through the process of quickly getting started using Node.js and MongoDB together.

This branch uses MongoDB 4.4, MongoDB Node.js Driver 3.6.4, and Node.js 14.15.4. To see an earlier version that uses MongoDB 4.0, MongoDB Node.js Driver 3.3.2, and Node.js 10.16.3, visit the 3.3.2 branch.

Topics

  • How to get connected to your database: blog post | code example
  • Creating documents: blog post | code example
  • Reading documents: blog post | code example
  • Updating documents: blog post | code example
  • Deleting documents: blog post | code example
  • The aggregation framework: blog post | code example
  • Transactions: blog post | code example
  • Change streams: blog post | code example

Related Videos

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

Questions?

Questions about this repo or how to use MongoDB and Node.js together? Ask them in the MongoDB Community.