GraphQL on Hasura tutorial: Learn by example

This is a simple, in-depth tutorial to understand how Hasura works and how you can use GraphQL APIs with Hasura.

Note

The Hasura CLI is needed for working with Hasura. If you haven’t installed it yet, please see Installing the hasura CLI

At the end of this tutorial, you will understand:

  • what Hasura projects and clusters are,
  • how to use the Hasura GraphQL APIs,
  • how to make use of postgres views to avoid writing custom resolvers,
  • how to write custom resolvers and deploy on Hasura,
  • how to implement schema stitching with Hasura and third-party APIs.

This tutorial is split across the following sections: