A weekly newsletter of the best news, articles and projects about GraphQL

Videos

Building Real Systems in Reason (Native)

This talk by Sean Grove at ReasonConf US 2019 discusses the benefits to using OneGraph, a GraphQL service that wraps and connects the internet’s SaaS APIs. Sean steps through how processing a request to OneGraph looks like and also provides a demo on OneGraphiQL, which helps visually build and explore GraphQL queries.

Fix your microservice architecture with GraphQL

Learn from Ruben Oostinga as he presents at the GraphQL London #11 on federation, managed GraphQL services, and persistent queries. He explains why GraphQL will solve many technical and organizational challenges s you can focus on building business value. Ruben also shares useful tools like graphql-transform-federation, swagger, and more to help quickly support your micro service architecture.

Boosting backend development productivity

Listen to this talk at the GraphQL Berlin Meetup as Flavian Desverne shares the challenges of building type-safe GraphQL servers with a database. He demos building a backend while focusing on end to end type safety, zero-config, conventions over configurations, no boilerplate, and more.

Videos

Rock solid GraphQL APIs by Charles Lee - GraphQL SF

In Charles Lee’s talk, he presents on how Shopify has been updating and deprecating one of their most used GraphQL APIs, with the help of permissions, visibility markers, and versioning. He explores the setup of their GraphQL API and explains why Shopify has versioned schemas, which helps local development provide checks to ensure version constraints.

Videos

GraphQL Typescript Authentication Boilerplate

In a video tutorial, Ben Awad does a walkthrough and gives an explanation for a GraphQL Typescript boilerplate that he created. The boilerplate includes authentication via sessions and the github repo itself offers instructions on how to later deploy the app to Heroku or DigitalOcean.

Err(or) on the side of awesome

In her talk from the 8th GraphQL SF Meetup, Christina Yu shares her lessons learned relating to GraphQL errors in her team at Paypal. At first she covers how they handled the errors and subsequently discusses how they tracked and optimised them. To track them she used a Grafana dashboard and a product called Apollo Graph Manager, as well as other Apollo tools.

Videos

How We Scaled GraphQL at New York Times

In this presentation, James Lawrie from The New York Times shares the number of queries served, data received and served, and the large amount of types and fields in their schema in order to demonstrate how GraphQL has helped the company scale to their current size. Listen in on how they handled geo-targeting, schema directives, active cache invalidation, and more.

GraphQL State Management in a React World

This talk discusses different state management that works well with GraphQL as well as how to use hooks to manage state. Shruti Kapoor explores the use of Redux along with GraphQL and the challenges, like immutability and the huge boilerplate. She demos using hooks with a React app that takes advantage of GraphQL to reduce the amount of data to state manage.

Migrate your APIs to GraphQL: why? how!

Guillaume Scheibel presents at Devoxx Belgium 2019 on how the engineering team at Expedia implemented GraphQL and improved its APIs functionality. The speaker breaks down the reasons why Expedia switched to GraphQL, the team’s challenges with REST, and the inconsistencies amongst types. He shares the architecture behind a cohesive API experience and live codes how to generate schemas from Kotlin types with the open source project GraphQL-Kotlin.

Videos

Designing GraphQL Schemas

Nik Graf speaks at the React Advanced 2019 Conference on some tips for better designing GraphQL schemas. He shares his thoughts on explicit naming, aliases, nullable fields, and connections, as he provides sample code snippets of good and bad examples. For anyone defining GraphQL schemas, learn how to maintain your schemas over time from the lessons Nik suggests.

Achieving End to End Type Safety with GraphQL, Prisma & TypeScript

Tim Suchanek at ViennaJS walks through a step by step tutorial on building a full-stack application using Apollo Client, GraphQL Nexus, Photon.js, and GraphQL Code Generator. He live codes to demonstrate adding a field to GraphQL queries on the frontend and to the schema. He also discusses the importance of type safety and how developers can practice end-to-end type safety to be more efficient with their code.

GraphQL vs REST - A Consumers View

This talk by James Neate from the 2019 Platform Summit focuses on the implications of interacting with GraphQL and REST APIs while comparing the two from a consumer perspective. He live demos in real time the differences between approaching both APIs when building user interfaces. Watch as James compares REST and GraphQL responsiveness, usability, documentation, and more.

Videos

“Designing” with GraphQL

Check out this talk at the React Advanced 2019 by Bernardo Raposo where he provides his presentation slides as well as all the resources to get started with figma-graphql. He presents how to utilize the Figma API and convert GraphQL queries into styles for your components. The talk includes other frontend tools you can use to provide easier access to design files, have responsive image components, and more.

Curious Use Cases of GraphQL

Nader Dabit’s presentation at the ReactiveConf 2019 discusses how developers are using GraphQL as an API gateway to handle unexpected use cases. He first introduces modern AWS technologies where he goes over useful tools such as AWS AppSync and Amplify Framework. Some cases include passing the query to Lambda or Serverless functions for processing or even writing geospatial and time-based queries.

Videos

Guide to the GraphQL Ecosystem

Ben Awad offers an overview of some popular GraphQL tools that he recommends using depending on schema-first or code-first development. Watch and learn as he shares his experience with multiple server set ups, databases, ORM tools, and other GraphQL services. Ben also provides his thoughts on React frontend tools that work the best in junction with GraphQL.

GraphQL by Example – Apollo Server with Express, Object and List Types, Query Arguments

Mirko Nasato dives deep into the concepts of integrating Express with an Apollo Server, passing arguments in GraphQL queries, handling associations between objects, and more. This section is an excerpt from the full course on learning GraphQL with fullstack JavaScript examples. He live codes how to build specific queries as well as view your data through GraphiQL.

Videos

Supercharging JAMstack apps with multiple APIs via GraphQL Pipelines

Check out this talk from the JAMstack Conference 2019 by Sean Grove where he explains the lifecycle for a developer using GraphQL. Sean walks through the steps of creating a JAMstack app and explores how to automate an ad-hoc GraphQL pipeline from start to finish. He demos how to combine multiple persisted queries in GraphQL to succinctly encompass all of the chaining work.

GraphQL Berlin Talks

This collection of videos is a great resource for watching the talks from the GraphQL Berlin meetup. It includes presentations on system design and architecture, key learnings from implementing auth with GraphQL, and singularity. Learn more about GraphQL fundamentals as well as implementation patterns from these discussions.

Videos

GraphQL Basics - Build an app with the SpaceX API

A great introductory GraphQL tutorial by the Fireship Youtube channel. While building a killer SpaceX themed web application and GraphQL API you will learn all the basics including querying, types, resolvers and even some type generation. All this while building an Angular web application.

REST in Peace: Abusing GraphQL to Attack Underlying Infrastructure

An extreme deep dive into malicious attacks on GraphQL and security strategies to mitigate these risks. The excellent talk includes detailed examples and explanations of the more common ways to abuse a GraphQL API through querying, SQL injection, and even some pre-built tools. A great watch for advanced GraphQL use cases.

Empowering GraphQL on the Monolith by Dinah Shi

Dinah at Github Packages does a great job of reviewing how Github handles a GraphQL monolith at scale. With great examples of filed level authorization, server efficiency, rate limiting and cacheing, this talk is power packed with GraphQL strategies and best practices. Examples are in Ruby but the conventions are relevant to most GraphQL implementations.

Videos

Intro to GraphQL plus Gatsby Schema Stitching

In this webinar, John Wilkins shares the benefits of a universal GraphQL graph over traditional web services like REST and JSON:API. He also provides points on how a GraphQL endpoint provides data and how GraphQL can stitch multiple sources of data into one graph using schema stitching. John live demos simple schema stitching using Gatsby’s gatsby-source-graphql plugin.

How we run GraphQL APIs in production on our Kubernetes cluster

Listen to Alexys Jacob’s talk from the EuroPython Conference 2019 where he shares the workflow and tools Numberly used to build, deploy, and operate GraphQL APIs on their Kubernetes cluster. He provides code and command examples to explain the transition from REST APIs on Web servers to GraphQL APIs containers on Kubernetes. The talk also includes how the Kubernetes cluster was designed, their GraphQL stack, and what Numberly is working on to continuously improve.

Wrapping and Securing REST APIs with GraphQL

Check out Roy Derks’ talk at the Node.js Edinburgh Meetup 2019 where he presents the problems of multiple endpoints, over-fetching, versioning, and more that come with REST and how flexible GraphQL is in solving these issues. He also shares some sample code on adding authentication to properly validate JWTs with your GraphQL wrapper. Roy demos how to implement GraphQL on top of your existing data and code in a secure manner.

Videos

GraphQL in Python

Patrick Arminio presents GraphQL in Python at the EuroPython Conference, where he describes what GraphQL is and what the current state of GraphQL libraries is in Python. He provides a brief history and several examples as to why GraphQL has advantages over REST. The talk also takes a look at the new library, Strawberry, that is inspired by dataclasses and can help generate GraphQL schemas and enable static type-checking.

Developing Serverless applications with GraphQL

Learn how Serverless applications work with Marcia Villalba in this brief talk discussing the different methods of implementing your own GraphQL server and how the AppSync platform functions. She explains the advantages to using AWS AppSync and what features are available on the console. Marcia also dives into the importance of infrastructure as code and integrating the Serverless Framework plugin.

JWT Authentication Node.js Tutorial with GraphQL and React

Follow along with Ben Awad as he live codes how to add JWT authentication to your project with this fullstack tutorial using Node.js, Typescript, GraphQL, React, and PostgreSQL. Ben steps through setting up a GraphQL server on the backend and GraphQL Code Generator on the frontend. The app can handle authenticated mutations/queries, register users, refresh tokens, and more.

Videos

Building Enterprise Applications with the Magic of React, Redux, and GraphQL

Rizchel Dayao shares her insight on building an application with large volumes of data and configurations from start to finish using React, Redux, and GraphQL. She explains her experience of using React Containers, GraphQL middleware, and server side routing to build an enterprise application for IBM Cloud. The talk also includes a breakdown of why the engineering team chose this stack and some examples of best practices for optimal performance.

Components as Data: A Cross Platform GraphQL Component API

Listen to this informative talk by Luke Herrington that discusses when to use decoupled architecture and how to add design consistency, query optimization, simpler frontends, and more to your API. Luke examines how GraphQL types and queries are shared in the component library as data and how to design a content API. His presentation includes several examples on writing a cross platform UI library that implements a design schema and how it can be used as the rendering engine for each platform.

Videos

Client-Side GraphQL Using URQL — Learn With Jason

Watch Phil Pluckthun and Jovi De Croock from Formidable Labs in this live-coding session as they teach how to set up a GraphQL-powered frontend using URQL, a customizable GraphQL client. The two use Gatsby to demonstrate how to implement URQL and create a basic voting system.

Videos

GraphQL in the Python World

Listen to this immersive webinar recording where Nafiul Islam from the PyCharm team demos a GraphQL implementation for Python using the Graphene library. He first dives into what GraphQL is and what problems it solves in comparison to RESTful APIs. The video then covers how to write a todo application in Flask that will publish GraphQL endpoints. All the sample code presented during the webinar can be found in the comments underneath the video.

Videos

Having Your Cake and Eating It Too - GraphQL in Reason

Listen to Sean Grove’s in-depth talk at the You Gotta Love Frontend Conference 2019 as he presents the differences between REST and GraphQL through the example of Spotify’s REST API. He then introduces the package ocaml-graphql-server that demonstrates proper GraphQL support in ReasonML libraries. The talk includes thoughts on introspectable servers and queries, the new type-safe ReasonReact, hot reloading, and more.

Videos

GraphQL Microservices

In this video lecture, Robert Pitt discusses different ways to use microservices with GraphQL. He talks about how to use schema stitching to use GraphQl with a microservice architecture.

GraphQL vs REST for Side Projects

Watch as Ben Awad analyzes the pros and cons of GraphQL vs REST that he learned after building two side projects. Using GraphQL Playground, he provides insight into the advantages, such as no over/under fetching and no versioning of an API, and disadvantages, like complexity in fetching data efficiently. Ben adds his final thoughts on how to decide when a project is better suited for using GraphQL or REST.