About the course:
Our instructor-led GraphQL training course explains fundamental concepts and techniques including queries, mutations, subscriptions and constructing schemas. You'll learn how to use GraphQL to fetch data intelligently, describing the shape of the data you want and getting back precisely what you asked for in a single request.
We'll demonstrate how GraphQL addresses the problems of RESTful architectures, and you'll learn to build a front-end client using Apollo and React / Angular, with a back-end GraphQL server using Apollo and Node. These techniques are applicable to other languages and frameworks - let us know about your tech stack and we can customise your course for on-site delivery as a standalone workshop or part of a wider training programme.
Please let us know if you're using a different JS framework (or none at all) as this GraphQL workshop is highly customisable.
By the end of this course, you will have learnt about:
- GraphQL and the limitations of RESTful APIs
- Using queries to fetch precise data
- Mutations
- Subscriptions
- Designing a Schema
- Building a front-end GraphQL client
- Connecting to a back-end GraphQL server
Who should attend
Web designers and developers who want to rapidly design and deploy responsive websites and web apps that will look great and play nicely with a wide variety of browsers / devices.
Prerequisites
Delegates should have attended our React.js Training Course or have equivalent experience.
Live, instructor-led online and on-site training
We appreciate that you need flexibility to fit in with new working situations - whether you're an individual, part of a distributed team, or simply have projects and deadlines to meet.
Our remote training can take place online in a virtual classroom, with content split into modules to accommodate your scheduling challenges and meet your learning goals. Get in touch today to find out how we can help design a cost-effective, flexible training solution.
As soon as it's safe, we'll return to also offering the on-site custom training courses and programmes upon which we've built our reputation.
Introduction
- How did we get here? The limitations of RESTful APIs
- A query language for modern web apps
- What is a graph?
- How does the GraphQL stack fit together
What is GraphQL?
- A query language to get data precisely in one request
- Queries: reading data
- Mutatations: add, edit and change data
- Subscriptions: listen out for changing data
Designing a Schema
- Describe the shape of data
- Defining relationships within the data
- GraphQL Types
- Reusable Fragments
- Resolvers: connecting schema to database
A front-end GraphQL client
- A review of Javascript and React fundamentals
- Adding Apollo-client to a React app
A GraphQL server
- Node and Apollo-server
- Connecting to the database