APIs - REST versus GraphQL

Click for: original source

Chimezie Enyinnaya blog post addressing all the fuss about GraphQL and what makes it different from REST. In this article, author took a technical look at REST versus GraphQL, comparing and contrasting the two API specifications.

GraphQL is a declarative data fetching specification and query language for APIs. It was created by Facebook back in 2012 to power their mobile applications. Both specifications for building and consuming APIs and both be operated over HTTP, though GraphQL is protocol agnostic.

The most significant improvement that GraphQL introduced is data fetching. And post also target:

  • Network requests differences
  • Over / under fetching
  • Error handling
  • Caching
  • Versioning

You will also learn about GraphQL ecosystem and look at some libraries, tools and services that will make working with GraphQL awesome. Nice.

[Read More]

Tags restful apis