Question: what is graphql used for?
Answer: GraphQL is a query language (that's what the “QL” stands for) for APIs and a runtime for fulfilling those queries with your existing data. Basically, it is used to load data from a server to a client -- it's a way to get data from an API into your application.