Step 3: Core entities and the API
Minutes 8–12 of the clock, 6–9 on a 35-minute one. Name the few things the system stores, then the handful of calls clients make. Designing a REST API teaches the API rules, and Data modelling from access patterns the schemas. This page is about what to put on the board in four minutes, and what interviewers check there.
Writing the rules of a board game
Writing the rules for a new board game, you start with two lists. The pieces: players, cards, tokens, the squares of the board. And the moves a player can make on their turn: roll, buy, trade, pass. Nobody's rules say how thick the cardboard is or how the cards are printed; that's the factory's business. And the moves are written from the player's side ("buy the square you landed on"), not from the box's side ("insert a card into the player's pile").