March 2019
Beginner to intermediate
324 pages
7h 17m
English
The first step to building a well-designed database layer is to build models for the data. Data models can simply be described as data structures that represent the information that we retrieve from the database and use in our APIs. This is best explained by an example.
In our GoMusic application, since it's simply an online store that sells products, we can identify the distinct models that our application needs to support, as follows:
Let's start writing some code; in your project root folder, you need to create a new folder called backend. Underneath this, create a folder called src, then underneath the src folder, create a folder called models. Now, inside the models folder, create a new ...
Read now
Unlock full access