2. What is GraphQL?
1m

What is GraphQL?

  • A query language, for getting data back from a server.
  • An alternative to REST.

Example Query:

query GetBooks {
books {
title
author {
fullName
}
}
}

Resources:

  • Apollo Blog: What is GraphQL? GraphQL introduction
  • Apollo Blog: The Anatomy of a GraphQL Query
  • Apollo Blog: GraphQL vs. REST
  • The official GraphQL spec

What you'll build in this workshop

The backend for an app called Catstronauts.

Screenshot of the Catstronauts homepage in a browser
Previous
Next