GraphQL is a query language and runtime that can provide a common interface between client and server applications for fetching and manipulating data. This course will show you how to build and consume GraphQL APIs with real-world examples.
Samer Buna is a polyglot coder with years of practical experience in designing, implementing, and testing software, including web and mobile applications development, API design, functional programming, optimization, system administration, databases, and scalability. Samer worked in several industries including real estate, government, education, and publications
GraphQL Query Language Welcome back. The GraphQL Query Language is designed around flexible syntax that is easy to read and understand. In this module, we'll explore the language syntax and learn the different features it supports. We'll first talk about fields and types in more details, explore the use of GraphQL variables, see how to customize the server behavior with directives, and also with aliases. We'll talk about fragments which I think is one of the most important features to understand about GraphQL. And we'll end this module by exploring how to write and execute a GraphQL mutation operation.
Data Loader and GraphQL Mutations In the last module, we started the implementation of the GraphQL API server for this data structure. We've so far worked with two tables in Postgres and one collection in Mongo. In this module, we'll continue implementing the rest of the API for this data structure, and implement mutations to add a contest and propose a name on a contest. We'll also see how to solve the N+1 problem and avoid extra database queries in general in the GraphQL executor. We'll see how to work with database views and how to create and use Unions to model multiple GraphQL types under one type.