July 1, 2015
GraphQL technical preview open-sourced
FacebookThe social network founded by Mark Zuckerberg — grew into Meta and reshaped online advertising. open-sourced GraphQL on July 1, 2015 — a query language for APIs with a draft spec and GraphQL.js reference implementation.
What it was for
GraphQL lets clients request exactly the fields they need in one round trip — no over-fetching from RESTRepresentational State Transfer — a style for web APIs using HTTP methods and resource URLs. endpoints. Used with ReactA JavaScript library for building UIs — component trees and declarative rendering for the web. (RelayAn electrically operated switch using a magnet to open or close contacts — early digital circuits used thousands of relays., Apollo), mobile apps, and microservice gateways. Example: fetch a user's name and last three posts in one typed query instead of chaining RESTRepresentational State Transfer — a style for web APIs using HTTP methods and resource URLs. calls.
People
- Lee Byron — co creator
Companies
- Meta
Why it's here
GraphQL changed how frontends fetch data and influenced APIApplication programming interface — a defined way for programs to talk to each other or to a service. design across the industry.
Why it mattered
It decoupled client data needs from fixed RESTRepresentational State Transfer — a style for web APIs using HTTP methods and resource URLs. resource shapes — critical for mobile and varied clients.
What it solved
FacebookThe social network founded by Mark Zuckerberg — grew into Meta and reshaped online advertising.'s mobile apps needed flexible, efficient data loading; rigid RESTRepresentational State Transfer — a style for web APIs using HTTP methods and resource URLs. endpoints caused over-fetching and version churn.
Media
- ImageGraphQL
Facebook, BSD, via Wikimedia Commons
Related
- React open-sourced at JSConf USMay 29, 2013
- GraphQL Foundation announcedNovember 6, 2018
- gRPC open-sourcedFebruary 26, 2015
- Swagger 1.0 releasedAugust 10, 2011