Introduction to GraphQL and Graphene

May 25, 2019, 10:30 a.m. - 1:00 p.m.

Please prepare the workshop as described here:

This workshop will cover the GraphQL basics with an interactive workshop. I'll give you a short introduction to each exercise and you will work on a solution.
Each exercise is about 10-15 minutes long and will cover one of the topics described below. After a short Q&A after each exercise we'll go to the next one.

When you finish the workshop, you will have the knowledge how to build your own GraphQL schema which is connected to the Django DB. Django knowledge is appreciated, but it will be doable even if you never worked with Django before.

The basic setup for the project will be given, and you will just write the GraphQL related things.

  • Basic Django knowledge is appreciated
Technologies used in the workshop:
  • Django
  • Graphene
  • Graphene-Django
  • Download and install a preconfigured Django project from Github
Intro (~10 min):
  • Instruction in general GraphQL concepts
  • TypeDefs, Queries, Mutations
What are we doing (~50 min):
Implementing a GraphQL schema in Django. This includes:
  • Typedefs
  • Resolvers
  • Fragments
(After coffee break) (~50 min)
  • Mutations
  • Enums
If time is left, I'll give a brief overview about:
  • What can we do with the 'info' object
  • Interfaces
  • Unions
  • Subscriptions

Arthur Bayr

Get PyConWeb event announcements

No spam, 2 emails per year