GraphQL Training

GraphQL Training

GraphQL Kickoff

Length 1 day

In GraphQL the "Q" stands for Query, which means _to question_. In this course, we're going to learn GraphQL, a special way to ask internet servers questions. We are going to learn how to ask these special servers all sorts of questions at once and allow them to provide all of the answers in a single response. We'll set up our own GraphQL servers that can answer questions that originate with any client. On this day, we're building GraphQL servers. We're building confidence. We're building better developers.

GraphQL Query Language

First Thing

GraphQL comes with its own language for sending queries, the GraphQL Query Language. We start the course out by covering this language in detail. In this section, students will learn how to use GraphQL Playground to inspect and query GraphQL endpoints. Students will experiment with GraphQL by writing robust and complex queries, sending mutations, and listening for data changes with subscriptions.

Topics

Why We Use GraphQLUsing GraphiQL and GraphQL PlaygroundBuilding GraphQL QueriesChanging Data with MutationsUsing Arguments and VariablesListening for Changes with SubscriptionsReviewing a Schema with Introspection

Designing GraphQL Schemas

Before Lunch

GraphQL actually comes with two of its own languages: the Query Language and the Schema Definition Language or SDL. After the morning break, we will dive head first into the Schema Definition Language starting with the syntax, then by designing our own schemas. In this segment, we will learn techniques for designing schemas that clearly define business domains.

Topics

Schema Definition LanguageDesigning your Own SchemasConnecting Types with FieldsConnections with Through TypesEffectively Designing MutationsEffectively Documenting a SchemaStrategies for Approaching Design

Apollo Server

After Lunch

Now that we understand the query language, how to design a schema, and we are fresh from lunch, it's time to build an actual GraphQL API. In this section, we will build a GraphQL API using Apollo Server. We will start from scratch. Together we'll design a schema, stand up a server with mocks, and build the resolvers that make it work.

Topics

Why We Need a Server ImplementationCreating an Apollo ServerConfiguring the ServerBuilding ResolversHandling ArgumentsBuilding Mutation ResolversUnderstanding Context

Lab: Build an API

End of the Day

At this point, students will know how to build and launch GraphQL APIs. They will be a force to be reckoned with, and they will be confident about their new powers. They are going to want to take them out for a spin, and we have the ultimate challenge lined up for them.


GraphQL

GraphQL is a query language for your APIs, and GraphQL is everywhere. Whether you're a front-end developer trying to load data predictably into your UIs, a back-end developer looking to wrangle microservices, or a manager hoping to tap into the performance and productivity benefits of GraphQL, we have practical, hands-on courses that will fast-track your progress at creating production-ready services with GraphQL. Learn the latest from the authors of O'Reilly's Learning GraphQL.

"Great job of both answering questions & keeping the pace moving in class!"JavaScript Kickoff Student
Custom Curriculums

Any of our classes can be customized to fit your specific needs. We can create the perfect GraphQL training course for your team. Our materials are designed to be isolated, combined, and rearranged to create the perfect class.