Concept explanation
Backend APIs become easier to learn and maintain when their routes describe resources cleanly. This game turns common product requirements into method and route choices.
Design REST-style methods and routes for product requirements such as creating users, updating email, searching products, and nested comments.
practice/api-route-builder Route design score Play, get feedback, save local progress, and optionally submit a leaderboard score.
Backend APIs become easier to learn and maintain when their routes describe resources cleanly. This game turns common product requirements into method and route choices.
Use the controls below. Feedback appears immediately, and final scores are stored locally.
Top 10 submitted scores. No account required.
Loading leaderboard...
Finish the game to load your latest local score.
REST route design is about making resources and state changes predictable. Clients should understand the shape of the API without memorizing many custom verbs.
Routes are not only syntax. They encode ownership, scope, cacheability, and the difference between replacing a resource and partially changing it.
Short answers for how this game fits backend interview and study practice.
No. Some domain actions are clearer as action subresources, such as POST /orders/:id/cancellation. The key is to be intentional.
Simple queryable searches usually fit GET with query parameters. Very complex searches can use POST to a search resource.