August 2016
Intermediate to advanced
376 pages
6h 33m
English
Now that we already have our configured endpoints, we need to create the relationship between the application models.
Our feedback will be inserted into a particular type of product, in this case, our motorcycle example, then each motorcycle model can receive various feedbacks. Let's see how simple it is to create the relationship between the models by directly editing the source code:
{ "name": "motorcycle", "base": "PersistedModel", "idInjection": true, "options": { "validateUpsert": true }, "properties": { "image": { "type": "string", "required": true }, "make": { "type": "string", "required": true }, "description": { "type": "string", "required": ...Read now
Unlock full access