You may be familiar with SQL databases since they are probably the most common database model used on millions of applications. But NoSQL databases are widely used in the industry due to their capabilities, and they can be easily integrated into our microservices. In this section, we will learn about them and how we can use MongoDB as a repository for the data required by our microservices.
NoSQL databases
What is a SQL database?
To understand what a NoSQL database is, we first need to understand what a SQL database is. In a SQL database, the data is organized in a tabular manner. We have different tables representing collections on our database, and each of these tables contain a set of columns that define them; those columns...