MongoDB is an agile and scalable NOSQL Database. The name Mongo DB comes from “humongous”. It is based on the NoSQL document store model, meaning that data is stored in the database as a form of JSON objects rather than the traditional columns and rows of a relational database.
Following are some reasons that MongoDB really fits in the Node.js stack well:
High performance:
MongoDB is one of the highest performing databases available. Especially today when more and more people interact with websites, it is important to have a backend that can support heavy traffic.
High Availability:
MongoDB’s replication model makes it easy to maintain scalability while keeping high performance.
High Scalability:
MongoDB’s structure makes it easy to scale horizontally by sharing the data across multiple servers.
NO SQL Injection:
MongoDB is susceptible to SQL injection because objects are stored as objects, not using SQL strings