All jobs / Full-stack developer / End-to-End Architecture
Full-stack developer interview question · 1–3 years
Web and iOS will read overlapping but different slices of the same customer graph.
Which do you pick?
The strongest answer
REST while the resources are clear and cacheable; GraphQL when many clients need different slices of a wide graph and over-fetch is the pain
Why it works
Exactly. This is a join decision, not a brand. Caching, file uploads and simple CRUD still love REST. Wide, client-specific reads love GraphQL.
What a good answer covers
- Choose for the clients you have, not the conference.
- REST for resources, HTTP cache and simple writes.
- GraphQL for many shapes over one graph.
- Do not duplicate every entity on both.
Answers that fall short
- Close, but not the strongest: GraphQL — it is newer so it is the 2026 default
Newness is not a requirement. GraphQL's cost is N+1, authz per field and a cache story. - Weak: REST forever; GraphQL is a fad
Dismissing a tool that solves over-fetch for mobile+web is fashion in the other direction. - Red flag: Both on every entity so callers can choose per request
Two full surfaces is two contracts to break. Pick a default; add the other for a reason.
Who gets asked this
More End-to-End Architecture questions
- You are launching 'scheduled send'. The API route is new; the button is new. How do you ship the flag?
- The web app must accept a large training video. How should a 200MB video get to storage?
- The page needs a user, their last three invoices and a permission set. Those live on three internal services…
- The same `/projects` powers the website and a native app that ships through an app store. How do you keep one…
- The server needs to push status updates to the browser, and the client never sends anything back on that…
- You deploy API and UI. Support still sees errors from a field you renamed. What do you assume after a deploy?
- You need to change `amount` from a string to a number. How do you version without stranding the UI?
- You want to rename `title` to `headline` on a resource the SPA already ships. How do you roll the rename?