๐ŸŽ New User? Get 20% off your first purchase with code NEWUSER20 ยท โšก Instant download ยท ๐Ÿ”’ Secure checkout Register Now โ†’
Menu

Categories

Web Development Intermediate

What is GraphQL?

A query language for APIs that lets clients request exactly the data they need, reducing over-fetching and under-fetching.

GraphQL, developed by Facebook, provides a single endpoint where clients specify their data requirements in queries. Unlike REST (multiple endpoints, fixed responses), GraphQL returns exactly what is requested โ€” no more, no less.

Key concepts include schemas (type definitions), queries (read data), mutations (write data), and subscriptions (real-time updates). Tools include Apollo (client/server), Relay, and GraphiQL (interactive explorer). Trade-offs include complexity and caching challenges.

Related Terms

Brotli Compression
A modern compression algorithm developed by Google that achieves better compression ratios than Gzip for web content delivery.
REST (Representational State Transfer)
An architectural style for designing networked applications using standard HTTP methods and stateless communication.
Sitemap XML
An XML file that lists all important URLs on a website, helping search engines discover and crawl content efficiently.
Idempotency
A property where performing an operation multiple times produces the same result as performing it once.
WebAssembly (Wasm)
A binary instruction format that enables near-native performance execution of code in web browsers alongside JavaScript.
HTTP Status Codes
Standardized three-digit codes returned by web servers to indicate the result of a client's HTTP request.
View All Web Development Terms โ†’