Learn to build a GraphQL server in Java step by step
- Description
- Curriculum
- FAQ
- Reviews
In this course we will take a deep dive into GraphQL and how to build a GraphQL server in Java using the production ready graphql-java library. After this course you will master everything you need to know to build an efficient and modular GraphQL service adapted to any use case.
We will walk through everything you need to know to create a GraphQL server and go through the different notions with hands-on examples and exercises for you to train. After this course you should be comfortable in building your own production ready GraphQL server.
We will walk through:
-
Schema creation via the schema description language (SDL) and via code
-
Writing DataFetcher (also called resolvers) both synchronous and asynchronous
-
Wiring the data fetchers with your schema
-
Building an GraphQL service over HTTP embedding GraphiQL as a GUI
-
All the schema and query constructs of offered by GraphQL
-
All about schema introspection
-
Everything there is to know about GraphQL query execution
-
How to implement batch loading to optimize database access
Throughout the course we will illustrate these concepts with hands-on presentations and exercises.
We will be using a concrete database as a demonstration use case and build a full GraphQL service on top of it.
-
1IntroductionVideo lesson
-
2Setting up the environment for a new GraphQL projectVideo lesson
In this session we will simply be setting up our environment to work through the course. We'll be setting up the pom file with the dependencies we'll be using at the beginning. If you already know maven, you can just bring download the attached pom.xml
-
14Part 1 : Input Types, Enums and ScalarsVideo lesson
-
15Hands-on: Let's add criteria to select countriesVideo lesson
-
16Implement criteria for the provinces entrypointText lesson
-
17Hands-on: Adding custom scalarsVideo lesson
-
18Part 2 : Unions and interfacesVideo lesson
-
19Hands-on: implementing a places entry pointVideo lesson
-
36Execution phases and asynchronicityVideo lesson
-
37Hands-on: Making our data fetching asychronousVideo lesson
-
38Fetching data in batches: batch loadingVideo lesson
-
39Hands-on: Using batch loading to optimize the number of database queriesVideo lesson
-
40Implement batch loading for provincesText lesson
External Links May Contain Affiliate Links read more