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.
- 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
How to Perform the CRUD Operations Using MongoDB & Node.js
Questions about this repo or how to use MongoDB and Node.js together? Ask them in the MongoDB Community.