From Alex Xu at ByteByteGo
Alex Xu at ByteByteGo recently published “What is GraphQL? Is it a replacement for the REST API?”.
Here’s the brief overview.
GraphQL is a query language for APIs developed by Meta. It provides a complete description of the data in the API and gives clients the power to ask for exactly what they need.
GraphQL servers sit in between the client and the backend services.
GraphQL can aggregate multiple REST requests into one query. GraphQL server organizes the resources in a graph.
GraphQL supports queries, mutations (applying data modifications to resources), and subscriptions (receiving notifications on schema modifications).
To read the full article, do vist here.
Thanks. Unsurprisingly, this article was not written by me but Alex Xu at ByteByteGo .