Overview

The course duration is 1 working day split into two main blocks of teachings. First block is usually held before lunch and is mainly dedicated to the environment setup and GraphQL core concepts demonstrations. The second part is focused on live coding of real application driven by GraphQL. We will implement all GraphQL concepts learned in the first part in Node.js and React. The training is being held either on-site (usually Prague/London) or remotely through streaming.

PART 1a

What we will build?

Participants will build AG News application that helps to classify articles into topics. The frontend will be written in React and Next.js. Data are served through GraphQL API, which is built in Node.js. PostgreSQL is used as the database. Predictions for unclassified news are implemented using GraphQL mutation that accesses pre-trained machine learning model.

  • What we will build?
  • Architecture
  • Frontend boilerplate
  • Backend boilerplate
  • Machine learning model
  • Database migrations

PART 1b

GraphQL Language

Each GraphQL concept is demonstrated in GraphQL Playground
  • GraphQL introduction: What is GraphQL? Why we need GraphQL? Modelling relationships in GraphQL
  • GraphQL request lifecycle
  • GraphQL document: basics and syntax, arguments and variables, queries and mutations
  • GraphQL schema: Type system, root types, input & output types, modifiers, scalars and enums
  • Classifier

PART 2a

GraphQL Server

In this part we will take all the knowledge from the GraphQL language and apply it for building real GraphQL server. The main topics are:
  • GraphQL Server: Apollo server with Express
  • GraphQL schema for users
  • Basic authentication resolver
  • Authenticated user resolver
  • GraphQL schema for articles
  • Articles query, predict article topic, update and delete article

PART 2b

GraphQL Client

In the previous part we built real GraphQL server with access to the database as well as machine learning service API. In this part, we will implement GraphQL data fetching in our React app:
  • GraphQL Server: Apollo server with Express
  • GraphQL schema for users
  • Basic authentication resolver
  • Authenticated user resolver
  • GraphQL schema for articles
  • Articles query, predict article topic, update and delete article

Prerequisities of participants

* It is recommended that participants know the basics in the following technologies in order to build the real GraphQL-driven application along side instructor

Ready to discuss your training?

* Sending us message through this form indicates you agree with Privacy Policy including our Cookie Policy.

Join thousands of others and stay up to date with the latest updates to GraphQL Fundamentals course dates

* Signing up for Atheros newsletter indicates you agree with Terms and Conditions and Privacy Policy including our Cookie Policy.