All the applications that you use on a daily basis store their information in databases. Databases allow you to provide the best experience to your users. Just imagine how hard it might be for your users without a database. For example, imagine you have bought a new iPhone and need to have all your contacts from your Instagram account added to your new phone. If databases did not exist, you would need to copy all of your contact information and add it locally to your new device. This may sound ridiculous, but this is how a world without databases might be.
It is important to learn how to create applications that are able to connect and store information into a database. So, now you will learn how to use MongoDB as your NoSQL database and how to integrate our backend with it using one of the most popular libraries called Mongoose.js.
In this chapter...