NoSQL databases are emerging as the next big thing. From the field of geospatial data to small businesses, the implementation of NoSQL databases has increased exponentially. This is due to the flexibility they provide while managing data, which we are going to study in detail in this chapter.
A NoSQL database is something that doesn't adhere to relational databases, that is, databases that are not structured, unlike tabular format. Such NoSQL databases can accommodate a variety of data models, such as graphs, single-level or multilevel key-value pairs, or simply JSON documents, and so on. MongoDB is a type of NoSQL database that uses BSON document storage. Let's dive into this topic by learning about the following points:
- Setting up MongoDB and integrating with the hapi app
- JSON versus BSON
- Inserting a JSON document
- Retrieving a JSON...