/plushcap/analysis/digitalocean/learning-graphql-by-doing

Learning GraphQL By Doing

What's this blog post about?

This tutorial introduces GraphQL, a query language and runtime for executing queries, by setting up a GraphQL server over Postgres and trying out some GraphQL queries, mutations, and subscriptions. The key benefits of using GraphQL over RESTful APIs are increased speed in building and iterating on the frontend app, reduced data sent from the server to client apps, and streamlined communication between frontend and backend teams. A GIF shows how a GraphQL client can make precise queries to a GraphQL API server to fetch exactly the data it needs and in the shape that it wants. The tutorial also covers query variables, multiple root nodes, querying related data, mutations, subscriptions, and the GraphQL schema.

Company
DigitalOcean

Date published
March 12, 2019

Author(s)
Shahidh K Muhammed, Hasura

Word count
3271

Hacker News points
None found.

Language
English


By Matt Makai. 2021-2024.