GraphQL schema

Learn how to build the schema module of GraphQL.

The schema module of GraphQL

To build a GraphQL API, we’ll need to construct a GraphQL schema that defines its domain model and determines how data is retrieved. That can seem pretty overwhelming at first, so let’s start by learning where to put the schema so we can ease into our first query. We want this schema to support the API clients accessing a list of menu items. An example query from a client might look something like this:

Get hands-on with 1200+ tech skills courses.