What is Node.js? Node.js is a platform built on Chrome's V8 JavaScript run time for easily building fast, scalable network applications. It helps build high performance network applications that are optimized for a concurrent environment. Node uses an event driven non-blocking IO which makes it lightweight hence very fast. It uses JavaScript's callback functionality to implement the non-blocking IO. One of the most basic requirements of any standard application is data persistence. This is where Mongodb comes into picture. MongoDB is among the top NoSQL databases out there. The fact that the data is stored in Mongo in the JSON format makes it one of the most compatible data stores for Node to work with. Lets take a look at how to go about connecting the two and performing basic operations on a Mongo database from Node. We will be using Mongoose to connect to Mongo. Mongoose along with other packages like Passport, Express are one of the most commonly used third party libraries used in Node. What is Mongoose? Mongoose is an object modeling package for Node. Mongoose allows us to have access to the MongoDB commands basic DB operations. To use mongoose, first install mongoose using the command: [crayon-57ab0d67e2563472429181/] Add mongoose [...]