BTI Beyond The Interviews

Frontend & Mobile · 11 sections

GraphQL

Queries vs mutations vs subscriptions, N+1 and DataLoader, schema design, and the resolver rules interviewers ask about.

Premium · preview 105 cards Updated 24 Oct 2026
Free to preview. The first 3 cards and the full outline are below — the rest of this sheet is part of the Frontend & Mobile bundle.

What's inside

Preview — first 3 of 105 cards

GraphQL in one line

A query language for APIs where the CLIENT declares the shape of the response, and the SERVER executes exactly that — one endpoint, no over/under-fetching.

Query vs Mutation vs Subscription

Query = read (safe, cacheable, parallel). Mutation = write (executed serially in written order). Subscription = long-lived stream over WebSocket/SSE for live updates.

query GetUser($id: ID!) { user(id: $id) { id name posts { title } } }
mutation Rename($id: ID!, $name: String!) { updateUser(id: $id, name: $name) { id name } }
subscription OnPost($userId: ID!) { postAdded(userId: $userId) { id title } }

Why one endpoint instead of REST paths?

The schema IS the contract: typed, introspectable, evolved rather than versioned via /v2. Clients request only fields they render, so mobile and web share one schema with different payloads.

102 more cards in this sheet

Unlock the Frontend & Mobile bundle — ₹399

One-time payment. Unlocks this sheet and 8 other sheets in the bundle, plus a typeset PDF of each.

Unlock the bundle See all bundles

Or get all 76 sheets for ₹999 — one payment, every future sheet included.