Magidoc

GraphQL

GraphQL is an open-source query language and runtime for APIs that was developed by Facebook in 2012 and later released to the public in 2015. It provides a flexible and efficient way to define, query, and manipulate data by enabling clients to request only the specific data they need, and nothing more.

Unlike traditional RESTful APIs, where clients have limited control over the data they receive, GraphQL empowers clients to specify the shape and structure of the data they require. This eliminates the problem of over-fetching or under-fetching data and allows for more efficient network communication between clients and servers.

Introduction to GraphQL

#

If you are new to GraphQL, there is a nice introduction on GraphQL website . It covers the main concepts, how it works and how to use it.

Code samples

#

Looking for documentation on how to build a GraphQL service? There are libraries to help you implement GraphQL in many different languages .