What is GraphQL?

Technology CommunityCategory: GraphQLWhat is GraphQL?
VietMX Staff asked 3 years ago

GraphQL is a query language created by Facebook in 2012 which provides a common interface between the client and the server for data fetching and manipulations.

The client asks for various data from the GraphQL server via queries. The response format is described in the query and defined by the client instead of the server: they are called client‐specified queries.
The structure of the data is not hardcoded as in traditional REST APIs – this makes retrieving data from the server more efficient for the client.