Our backend obviously needs a database to store all the data that our RESTful API is supposed to expose. Let's call the database interaction code our database layer. In the world of backend software systems, careful and thoughtful design needs to be applied when writing the database layer. This is because the database layer is vital for almost all of the major functionalities in backend systems.
Let's get into the details of models in the next section.