- install the Node MongoDB driver module and configure your Node application to communicate with the MongoDB server.
- Install and use the Node MongoDB driver
- Interact with the MongoDB database from a Node application
- Installing the Node MongoDB Driver Module
- Create a new folder named node-mongodb and move into the folder.
- Install the Node MongoDB driver and the Assert module by typing the following at the prompt:
npm install mongodb --save
npm install assert --save