Graph QL
GraphQL is a query language and runtime for APIs that lets clients request exactly the data they need, in a single request, rather than relying on fixed endpoint responses.
65 resources across 4 libraries
Glossary Terms(27)
REST API
A REST API (Representational State Transfer Application Programming Interface) is a web service interface that lets clients and servers communicate over HTTP u…
GraphQL
GraphQL is a query language and runtime for APIs that lets clients request exactly the data they need, in a single request, rather than relying on fixed endpoi…
Contentful
Contentful is a headless content management system (CMS) that stores and delivers structured content through an API, allowing developers to build any frontend…
Hasura
Hasura is an open-source engine that instantly generates a GraphQL and REST API over new or existing databases, letting developers query and mutate data withou…
Insomnia
Insomnia is an open-source API client for designing, testing, and debugging REST, GraphQL, and gRPC APIs through a visual desktop application.
Gatsby
Gatsby is a React-based framework for building static and server-rendered websites, using GraphQL to pull data from many sources at build time into fast, pre-r…
Gravitee
Gravitee is an open-source API management platform used to publish, secure, monitor, and control access to APIs across an organization.
gRPC
gRPC is a high-performance, open-source remote procedure call (RPC) framework, developed by Google, that uses Protocol Buffers for efficient, strongly typed se…
Altair GraphQL Client
Altair GraphQL Client is a feature-rich, cross-platform GraphQL IDE that lets developers build, send, and inspect GraphQL queries and mutations against an API…
Strapi
Strapi is an open-source, Node.js-based headless CMS that lets developers define custom content types through an admin UI and exposes that content via auto-gen…
NestJS
NestJS is a TypeScript-first framework for building efficient, scalable server-side Node.js applications, providing an opinionated architecture inspired by Ang…
OpenAPI
OpenAPI is a language-agnostic specification for describing REST APIs in a machine-readable format, covering endpoints, request/response schemas, authenticatio…
Postman
Postman is a popular API development and testing platform that lets developers design, document, test, and debug HTTP APIs through a graphical interface and co…
Apollo GraphQL
Apollo GraphQL is a platform of tools and services for building, querying, and managing GraphQL APIs across the client and server, including Apollo Client, Apo…
Apollo Server
Apollo Server is an open-source, spec-compliant GraphQL server library for Node.js that lets developers define a schema and resolvers to build production-ready…
Headless CMS
A headless CMS is a content management system that stores and manages content but has no built-in frontend for displaying it, instead delivering content throug…
SOAP API
SOAP (Simple Object Access Protocol) is an XML-based messaging protocol for exchanging structured information between systems, typically over HTTP, with a form…
JSON
JSON (JavaScript Object Notation) is a lightweight, text-based data format that represents structured data as key-value pairs and ordered lists, widely used fo…
Sanity CMS
Sanity CMS is a headless content management platform that stores content as structured JSON and provides a customizable, real-time authoring interface (Sanity…
Directus
Directus is an open-source data platform that wraps an existing SQL database with an instant REST and GraphQL API plus a no-code admin app, effectively turning…
GraphQL Playground
GraphQL Playground is an interactive in-browser IDE for exploring and testing GraphQL APIs, offering schema documentation, query autocompletion, and real-time…
gRPC-Web
gRPC-Web is a JavaScript client library and protocol that lets browser-based applications call gRPC services, working around the fact that browsers cannot make…
API Versioning
API versioning is the practice of managing changes to an API over time by exposing multiple versions of it, so existing clients keep working while new capabili…
TanStack Query
TanStack Query (formerly React Query) is a data-fetching and caching library that manages server state in frontend applications, handling caching, background r…
Showing 24 of 27.
Study Notes(31)
Aliases and Fragments
Learn how aliases let you request the same field multiple times with different arguments, and how fragments keep repeated selection sets DRY.
Apollo Client Basics
Learn how Apollo Client manages GraphQL queries, mutations, and the normalized cache in front-end applications.
Authentication and Authorization in GraphQL
Learn how to authenticate requests and enforce field-level authorization in a GraphQL API, and avoid common security pitfalls.
Custom Scalars
How to model domain-specific leaf values beyond GraphQL's five built-in scalars using serialize, parseValue, and parseLiteral.
DataLoader and the N+1 Problem
Understand why naive GraphQL resolvers trigger the N+1 query problem and how Facebook's DataLoader batches and caches requests to fix it.
Directives in GraphQL
Understand built-in and custom GraphQL directives, how they alter query execution and schema behavior, and where to apply them safely.
Enums in GraphQL
How GraphQL enums restrict fields and arguments to a fixed, validated set of named values, and how their SDL names map to internal server representations.
Error Handling in Resolvers
Learn how GraphQL's partial-response error model works, how nullability affects error propagation, and how to design custom, informative errors.
GraphQL Code Generation
Understand how GraphQL Code Generator produces type-safe TypeScript types, hooks, and resolvers from your schema and operations.
GraphQL Interview Questions
A curated set of common GraphQL interview questions and model answers covering core concepts, performance, and real-world tradeoffs.
GraphQL Quick Reference
A condensed cheat sheet of core GraphQL syntax, type system rules, and common patterns for fast lookup.
GraphQL vs REST
A practical comparison of GraphQL and REST across data fetching, versioning, and caching, and when to choose each.
Input Types
Learn how GraphQL input object types bundle structured arguments together, especially for mutations, and how they differ from regular object types.
Interfaces and Unions
How GraphQL's two abstract types — interfaces with guaranteed shared fields, and unions with no shared contract — let a single field return polymorphic results.
Mutations Explained
Learn how GraphQL mutations perform writes, why they execute serially, and how to structure inputs and response payloads.
Nullable vs Non-Nullable Types
Why fields are nullable by default in GraphQL, what the `!` modifier guarantees, and how null bubbling propagates a single resolver failure up the response tre…
Pagination Patterns: Cursor vs Offset
Compare offset-based and cursor-based pagination in GraphQL, and understand why the Relay connection spec is the industry-standard approach.
Query Arguments and Variables
Learn how GraphQL fields accept arguments to parameterize what they return, and how variables keep queries reusable, safe, and cacheable.
Resolver Functions Explained
Learn what resolver functions are, how their four arguments work, and how GraphQL servers turn a query into actual data.
Resolving Nested Fields
See how GraphQL resolves deeply nested object fields, including lists of objects, and why field resolution order matters for performance.
Scalar and Object Types
A deep dive into GraphQL's built-in scalar types, custom scalars, enums, and how object types compose the graph.
Schema Stitching and Federation
Learn the two main approaches to composing multiple GraphQL services into a single unified graph, and when to choose each.
Setting Up a GraphQL Server
A hands-on walkthrough of standing up a GraphQL server with Apollo Server, from schema and resolvers to running your first query.
Subscriptions Explained
Learn how GraphQL subscriptions deliver real-time updates over a persistent connection, and how to run them reliably in production.
Showing 24 of 31.
Cheat Sheets(1)
Interview Questions(6)
GraphQL vs REST: How Do They Fetch Data From Databases Differently?
REST exposes fixed, resource-shaped endpoints that each return a predetermined set of columns and joins decided by the server, while GraphQL exposes a single e…
GraphQL vs REST at Scale: How Do You Choose?
REST exposes fixed, resource-shaped endpoints that are simple to cache and operate at scale, while GraphQL exposes a single endpoint with a flexible query lang…
REST vs GraphQL: What Is the Difference?
REST exposes fixed, resource-shaped endpoints where the server decides what each response contains, while GraphQL exposes a single endpoint with a typed schema…
How Do You Design a Good GraphQL Schema?
A good GraphQL schema models the domain as a graph of types connected by meaningful relationships, favors nullable fields and explicit input types over overloa…
How Does Caching Differ Between GraphQL and REST?
REST caches naturally at the HTTP layer because each resource has a stable, unique URL that CDNs and browsers can key on, while GraphQL typically serves every…
What Is the GraphQL N+1 Problem and How Do You Solve It?
The GraphQL N+1 problem happens when resolving a list field triggers one query to fetch the list plus one additional query per item to resolve a nested field,…