In this chapter, we will cover the following recipes:
Setting up MongoDB
Installing the MongoDB database driver for Node.js
Installing the express module for Node.js
Connecting to a MongoDB database using Node.js
Creating a document in MongoDB using Node.js
Searching for a document in MongoDB with Node.js
Updating a document in MongoDB with Node.js
Deleting a document in MongoDB using Node.js
Using REST to search MongoDB
Using REST to create a document in MongoDB
Using REST to update a document in MongoDB
Using REST to delete a document in MongoDB