Summary

In this chapter, we explored one of the most popular NoSQL databases: MongoDB. We also compared the main SQL queries to their counterparts in MongoDB. We further explored the process of using MongoDB in NodeJS using Mongoose. Finally, we rounded off by covering the basics and some advanced features of Mongoose, and highlighted how we are already using it in our project.

While we were going through this chapter, we had a brief overview of another main directory in our project: the server folder. Previously, we went through the client folder, and in the next chapter, you will learn how to make a RESTful API and how to test it with e2e tests.

Get Web Application Development with MEAN now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.