Slide 1

Slide 1 text

GraphQL for Backlog

Slide 2

Slide 2 text

About me Software engineer at Nulab Working in Backlog team Github: https://github.com/chaabaj

Slide 3

Slide 3 text

What is GraphQL Query language for Frontend to retrieve and update data in the Server made by Facebook.

Slide 4

Slide 4 text

Why use GraphQL ? GraphQL make it easy for a frontend to query data. Reduce requests between server and client compared to a REST API. Can reduce the response data size since the frontend can select what part of the data he is interested in.

Slide 5

Slide 5 text

GraphQL for Backlog Provide an ergonomic way of querying data in Backlog We don’t have a GraphQL API server yet but we can emulate it using the current REST API Data aggregation made it easy

Slide 6

Slide 6 text

Backlog4s A SDK for Backlog i’m working on written in Scala It actually provide a GraphQL server which translate a GraphQL query into Backlog API calls Still in active development but it showing interesting results I plan to make it easy to setup a GraphQL server for Backlog

Slide 7

Slide 7 text

Demonstration

Slide 8

Slide 8 text

Drawbacks ● The actual implementation try to do the less possible API call by deferring them and optimize the number of API calls ● No caching since it’s just a translation layer

Slide 9

Slide 9 text

Future I will provide Scala.js/Typescript support so you won’t need to run a separate server to get the GraphQL emulation working Add authentication in GraphQL server using OAuth2

Slide 10

Slide 10 text

Question ?