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

Lazy Loading
A technique that delays loading non-critical resources until they are needed, improving initial page load performance.
OAuth Scope
A mechanism in OAuth that limits an application's access to a user's account to specific resources or actions.
Web Accessibility (a11y)
The practice of designing websites that can be used by people with disabilities, following WCAG guidelines.
API Rate Limiting
A strategy for limiting the number of API requests a client can make within a specified time window to protect server resources.
CSS Grid
A two-dimensional CSS layout system for creating complex grid-based designs with rows and columns.
Web Vitals
Google's metrics for measuring user experience quality, including loading speed, interactivity, and visual stability of web pages.
View All Web Development Terms โ†’