What is GraphQL?
GraphQL is a query language that allows you, the user, to ask for very specific pieces of information from the database. Whereas REST might have you hit 3-4 different endpoints to get all the data you need, GraphQL has you construct the query to get it all in one go. All requests are POST requests to a single endpoint that are then processed by a local Hasura docker container. To determine what it is you’re trying to do, GraphQL has a leading action ofquery, mutation, or subscription in each message.