Skip to content
Theory · API and data model · lesson 4 of 7

Entities and relations

The API says what the service can do, and the data model says what it stores to do it. In an interview the model starts with a list of entities and the relations between them. It takes a couple of minutes and shows the interviewer at once whether you understood the task. A mistake here is costly to fix later, since every call rests on the model.

In this lesson

  • Entities from requirements
  • Relations
  • Tables
  • One owner per entity
  • Common mistake
  • Key points