GraphQL - MacKittipat/note-developer GitHub Wiki

History

  • Develop by FB in 2012

What it is ?

  • Query language for API
  • Single endpoint
  • Schema base

Benefit

  • Send a GraphQL query to your API and get exactly what you need
    • Reduce payload size
    • No over fetch and under fetch
  • Get many resources in a single request
    • Speed up the API call. No round trip to API
  • Require schema which serve as contract between client and server

Reference