Skip to lesson

ShopLite: connect the entities

Replacing plain id fields with real relationships lets ShopLite's code say order.getItems() and product.getCategory() while the API keeps answering with exactly the same JSON.

Sign in to continue this lesson

Create an account to read every lesson, practise with the exercises and keep track of your progress.