GraphQL is a query language for APIs — it lets you ask for exactly the data you need, and nothing more.
Created by Facebook in 2012 (and released publicly in 2015), GraphQL is an alternative to REST. Instead of hitting multiple endpoints and over-fetching or under-fetching data, you send a single query that says: “I want the user’s name, email, and profile photo — and that’s it.” The server responds with just that. It’s flexible, fast, and efficient.
Why do developers love GraphQL?
Because it cuts the noise, you don’t have to deal with multiple versions of an API or endpoints returning too much junk. Frontend and backend teams can work more independently, and mobile apps can be more lightweight. It’s especially useful for modern apps with lots of dynamic data.
Want to try it out? Here’s a great place to start: GraphQL.org
« Back to Glossary Index