From the course: MongoDB Node.js Developer Associate Cert Prep
Unlock this course with a free trial
Join today to access over 24,900 courses taught by industry experts.
Using MongoDB Node.js client libraries
From the course: MongoDB Node.js Developer Associate Cert Prep
Using MongoDB Node.js client libraries
- Hello, in this video, you'll learn how to connect to a MongoDB Atlas cluster from Node.js applications. You'll also learn what drivers are and how they enable you to work with MongoDB. When you build a Node.js application that connects to MongoDB, there's a piece of middleware known as a driver. The driver works in tandem with a built-in Node.js BSON package to interact with your MongoDB server. MongoDB provides an asynchronous driver for Node.js, as well as drivers for several other programming languages. MongoDB driver simplify connecting to and interacting with your database from an application. The official MongoDB driver establishes secure connections to a MongoDB cluster and executes database operations on behalf of client applications. Additionally, drivers allow you to specify the connection options. These might include security settings, write durability, read isolation, and much more. The official MongoDB…