๐ŸŽ 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

REST (Representational State Transfer)
An architectural style for designing networked applications using standard HTTP methods and stateless communication.
Web Performance Optimization
Techniques to make websites load faster and respond more quickly, improving user experience and search engine rankings.
HTTP Status Codes
Standardized three-digit codes returned by web servers to indicate the result of a client's HTTP request.
Webhook
A mechanism where a server sends real-time HTTP POST notifications to a specified URL when specific events occur.
JSON
JavaScript Object Notation โ€” a lightweight data interchange format that is easy for humans to read and machines to parse.
Static Site Generator (SSG)
A tool that generates a complete static HTML website from templates and content at build time, requiring no server-side processing.
View All Web Development Terms โ†’