MongoDB is a document database with the scalability and flexibility that you want with the querying and indexing that you need
Here we are connecting to a locally hosted MongoDB database called test with a collection named restaurants.
MongoDB stores data in flexible, JSON-like documents, meaning fields can vary from document to document and data structure can be changed over time
The document model maps to the objects in your application code, making data easy to work with
Ad hoc queries, indexing, and real time aggregation provide powerful ways to access and analyze your data
MongoDB is a distributed database at its core, so high availability, horizontal scaling, and geographic distribution are built in and easy to use
MongoDB is free to use. Versions released prior to October 16, 2018 are published under the AGPL. All versions released after October 16, 2018, including patch fixes for prior versions, are published under the Server Side Public License (SSPL) v1.
High availability through built-in replication and failover
Horizontal scalability with native sharding
Native document validation and schema exploration with Compass
Management tooling for automation, monitoring, and backup
Fully elastic database as a service with built-in best practices