Unify Data Sources with GraphQL at the edge

This ad is not shown to multipass and full ticket holders
JSNation US
JSNation US 2025
November 17 - 20, 2025
New York, US & Online
See JS stars in the US biggest planetarium
Learn More
In partnership with Focus Reactive
Upcoming event
JSNation US 2025
JSNation US 2025
November 17 - 20, 2025. New York, US & Online
Learn more
Bookmark
Rate this content

Combine multiple APIs and databases into a single centralized GraphQL API that you can enhance with auth, permissions and caching, fully managed and deployed to the edge with Wasm.

This talk has been presented at TypeScript Congress 2023, check out the latest edition of this JavaScript Conference.

FAQ

Jamie discussed unifying data sources with GraphQL during the TS Congress.

Building scalable APIs involves considering various factors such as multiple data sources, different APIs and SDKs, documentation quality, learning curves, and the need for deployment at the edge.

GraphBase allows developers to connect multiple data sources, such as databases, warehouses, and commerce applications, into a single GraphQL API. It provides full type safety on both the back end and front end.

GraphQL’s strong type system, when combined with TypeScript, can generate type-safe code for queries, mutations, inputs, and arguments. This ensures full type safety from the back end to the front end.

GraphBase provides features like unified GraphQL API, authentication configuration, caching at the edge, preview URLs for GitHub branches, search, analytics, and the ability to extend APIs with custom code.

GraphBase allows users to bring their own authentication providers like Auth0 or Click. It supports configuring permissions for different user actions, such as reading, writing, updating, or deleting data.

Caching in GraphBase ensures that data is readily available at the edge, close to the user, which improves response times and overall user experience.

Yes, GraphBase can be used with any frontend application that can make a fetch request, providing a seamless integration with existing projects.

GraphBase offers tools such as the GraphBase CLI, TypeScript SDK, and support for custom resolvers, making it easier for developers to build and manage APIs.

GraphBase enhances productivity by abstracting the complexities of GraphQL, providing full type safety with TypeScript, and offering comprehensive tools and features that streamline API development and management.

Jamie Barton
Jamie Barton
17 min
21 Sep, 2023

Comments

Sign in or register to post your comment.
Video Summary and Transcription
This Talk discusses the benefits of using GraphQL to unify data sources, the flexibility of deploying APIs with GraphBase, and the ability to customize the GraphQL API using TypeScript. The GraphBase SDK allows developers to import auth, config, connector, and schema, providing full type safety and configuration options. TypeScript provides a helpful coding experience with hover-over hints and descriptions. The Talk also highlights the ability to extend the Stripe API using custom code and the ease of configuration with GraphBase and TypeScript.

1. Unifying Data Sources with GraphQL

Short description:

Hey everyone, I'm Jamie. Today at TS Congress, I'll be discussing the topic of unifying data sources with GraphQL. Building a scalable and maintainable API involves considering various concerns and dealing with different APIs and SDKs. With the abundance of data sources, it can be time-consuming to integrate them all. However, the flexibility to create diverse applications using different data sources is a great benefit. The challenge lies in the lack of consistent documentation and the need to ensure data is available at the edge for optimal user experience.

Hey everyone, I'm Jamie. I'm really excited to be here today at TS Congress and I hope that you're all having a fantastic time. So far, there are so many amazing speakers and talks lined up. I'm really excited to check those out and catch up.

But obviously after this talk, we only have a few minutes together today really to go through some slides and a demo. So I think we should dive right into the topic that is unifying data sources with GraphQL.

Now if you're building an API, it doesn't matter if that API is REST or if that's GraphQL. It's pretty hard. Yes, it's easy to install a dependency, create some type definitions with GraphQL, and then create some resolvers and then deploy it. It's easy to do that. But there are so many other things to consider when building something scalable that you want to deploy to production, at the edge, hopefully, for your users to use and consume.

And this list that you see here is really only a small snapshot into some of the concerns that you have to kind of think about when building something scalable and maintainable in production. But I think the biggest problem today, it's a great benefit to have. But the biggest problem is that we have so many different data sources today that we all have to figure out how to use all of the APIs and SDKs. Well, they all differ as well. There's a different learning curve. There's different types of documentation. Some are more documented than others. Some take no time at all to get started and some take days to figure out. And because we're using so many of these services now to deliver our end products, well, it can often just be really time-consuming to do that.

I think the simplest to-do app that we all used to do and build when we first got started with something, I think in today's world, with all of these different data sources, I think there is so many different implementations of that now where maybe it's you create a to-do app that when you add a to-do, it sends you a notification via Slack or email or SMS. So there's three services. And then maybe it's when you add something or remove something or check something or uncheck something, maybe that goes on to find spots in your calendar that are free so you can actually find time to do these to-dos. So yeah, there are so many things to consider when building apps with all of these different data sources. And it's great that we've got this flexibility. But yeah, like I say, the downsides is some of these APIs have better documentation. Some of them don't. But the biggest thing, I think, with this is that all of the different services that we use today, they aren't really focused on where the data maybe lives because they know that they could just rely on someone using some caching or a static site generator or something. So most of these just deploy to a single region. But of course, if we want to use all of these different services, that data really should be at the edge closest to the user so that you can get the best experience when using your application that obviously you create using TypeScript.

2. Flexibility in API Deployment and Data Integration

Short description:

We are on a mission to solve the lack of flexibility in deploying APIs to different regions. At GraphBase, we allow developers to connect to any type of database and extend their applications with additional data sources. With our unified GraphQL API, you have full type safety on both the back end and front end. We provide tools to make this process easy and efficient.

And I think all of these APIs, they're deployed to a single region. And obviously you can pay to maybe deploy it to other regions. But I think that's just something that we all should have the flexibility to do and configure on our own. Because there are so many services that don't give you that flexibility when you really want it. And maybe if you are to get that from a service provider, they may charge you a lot more to do that. So that's the one thing that we are on a mission to solve at GraphBase.

And we allow developers to connect to any type of database, maybe a warehouse or a commerce application like Shopify. If you have a product in Shopify that you want to extend with more products or reviews. You might want to get those reviews from a different API. Maybe you have some content in HiGraph or Contentful or Sanity that you want to add to these product pages. Well, we give you the ability to kind of add data sources, extend them and add your own custom code and do other things. So we're on a mission to do that, to create a single GraphQL API that you can bring different data sources in with and then your different front ends as well. And with all of this, you have full type safety on the back end, full type safety on the front end with that unified GraphQL API. And there's so many cool tools to do that.

3. GraphBase: Unified GraphQL API and Configuration

Short description:

GraphBase provides a unified GraphQL API that allows you to bring your own Auth provider and configure user permissions. It also offers caching at the edge and generates TypeScript types for GraphQL queries and mutations. With a single GraphQL SDL configuration, you can add auth providers and specify rules for authenticated requests. GraphBase works with any fetch request and ensures full type safety from the back end to the front end.

And the other thing that GraphBase does is obviously it has this unified GraphQL API where all of these data sources live. And then on top of that, you can add things like Auth. So you can bring your own Auth provider like Click or Auth0 and then you can say, this user can update but can't delete, or they can read and not write. All of that can kind of be configured within the configuration. But the actual user management happens elsewhere. So you can bring your own users, essentially, to use the API and the connected databases as well.

And then on top of that, we obviously mentioned previously about kind of how important it is to have data readily available at the edge, close to the user. Well, we do that with caching at the edge as well. So that's baked in to all projects that you can take advantage of. Then when you deploy this to production, if you open a branch on GitHub, we'll automatically create you a preview URL that you're very used to. No doubt, with things like Vercel and Netlify, they give you that immutable URL that you can use. We do the same for GraphQL. We'll give you that new API endpoint so you don't have to think about, you know, figuring out how can I build that myself? That just comes for free, out of the box. We also have other products like search, and then analytics as well, so you can get full insights into what's going on with your project. And like I mentioned before, this works with anything that you're using today. Wherever you can make a fetch request, you can use Graphbase. But the important thing that I want to highlight is GraphQL and TypeScript, they work very well together because of the type system. A GraphQL-strong type system can be used with things like the GraphQL code generator to generate all of the TypeScript types for all of your GraphQL types, and maybe it's your GraphQL queries and mutations, and if they have inputs and arguments, some are required, some are optional. The code generator can create something in TypeScript that maps to that. So when you're using Graphbase and you're creating your own custom resolvers, you can use all of that code, all of that generated code to create something that's fully type safe from the back end to the front end, which I think is really powerful.

But the topic that I really want to cover today and show in the demo next is actually when we started to build Graphbase, we had a single GraphQL SDL as configuration. So on the left here, you can see there is a schema. Then we have this custom directive called auth that you would then configure all of your different auth providers with. So this OpenIDConnectProvider could be something like clerk, or it could be auth0 or something else. You can add that as an auth provider. And then you can specify a list of rules. We just have one rule here, which is allow private. But then that would add some rules to your backend to only allow authenticated requests. Then below that, we have this GraphQL tag, which is defining a namespace, the URL to the Shopify store or to the Contentful store. And then we have some headers as well.

4. Building with GraphBase SDK

Short description:

Here, we've just got a custom Shopify header. If you use this with Shopify, if you use this with Contentful, you could obviously pass through different headers. The SDL that people had to use for so long didn't give developers any hints into what was going on with all of the different kind of configuration and options. So we built the graph based SDK, which allows you to import things like auth, config, connector, schema. And as you're typing, you can use TypeScript to its full advantage. Thanks to TypeScript, you get full type safety and can configure all the different kind of arguments when building GraphQL queries and resolvers within GraphBase. Let's jump into a demo using the GraphBase CLI to initialize a new project and use TypeScript as our config option.

Here, we've just got a custom Shopify header. If you use this with Shopify, if you use this with Contentful, you could obviously pass through different headers. And then those would go on when you make that kind of request to the different providers.

So, yeah, this is the SDL that people had to use for so long. And it's fantastic. I still use it today. I also use the new TypeScript configuration, but the SDL was really nice. But the thing that it didn't give developers was it didn't give you any hints into what was going on with all of the different kind of configuration and options. You didn't get any help from TypeScript or the code editor when you were configuring back ends with SDL. So that's why when we spoke to the community, we noticed that a lot of people were looking for a way to create something that was type safe.

So we built the graph based SDK. The team put together a proposal. We spoke to the community and they said, wow, this is great. How can I use this? So we started to build the SDK, which allows you to import things like auth, config, connector, schema. And then you can create models from that. You can then connect things. And as you're typing, you can use TypeScript to its full advantage to make sure that you're passing a string where a string should be invoked and integer, etc. And things like the headers API, we make sure that you can customize and specify the right kind of keys and values there. And no one's going to mess those up. So you get that full type safety, which we love as well. Thanks to TypeScript.

And I think the other thing when you're building GraphQL queries and resolvers that are custom to you. So you're building these within GraphBase, you can configure all of the different kind of arguments that those have. And if there is any optional fields, you can declare that inside of here. And TypeScript helps you generate that SDL automatically. But yeah, I want to jump into a demo now. Now we'll open our code editor. Imagine this was your frontend application and you wanted to create a backend for your frontend. You can use the GraphBase CLI to initialize a new project. And then, of course, we want to use TypeScript as our config option.

5. Customizing GraphQL API with TypeScript

Short description:

I'm going to cheat a little bit. I'm going to invoke some steps that I created earlier, so we can update and change how this configuration looks. But as we explore this file, we can now see that we can hover over things and we can invoke things, and we get full help thanks to TypeScript with all of these, kind of, descriptions and options that are available inside of our code editor. So let's get started by creating a query here. We have some arguments that are optional. Now we'll go over to the file that we have, hello.ts. Here we have a TypeScript function. We can import SDKs and whatever inside of here, but this is TypeScript. We're able to create a TypeScript resolver that we'll later deploy to the edge. In this schema that we see here, this was all generated from that TypeScript config. So we didn't have to worry about writing GraphQL SDL. We were able to just use TypeScript and forget about that you need to know GraphQL to build a backend. If you don't, you can use TypeScript to build these backends. Let's execute a mutation here with GraphQL. We will RSVP to the event. We can pass along our name and our status here, which is an enum in GraphQL, and we can send different enum values if we want to. And then when we run that operation here, that will return the data to us. So that is basically a custom GraphQL query and mutation using TypeScript that was configured using TypeScript instead of our graph-based repo. Next, we can do things like connect things like Stripe using the open API connector. And then here, thanks to TypeScript, we know exactly what we need to pass, things like headers, what the key is, what the value can be, and the same with transforms as well. We can transform the schema to exclude certain fields and queries and mutations.

I'm going to cheat a little bit. I'm going to invoke some steps that I created earlier, so we can update and change how this configuration looks. But as we explore this file, we can now see that we can hover over things and we can invoke things, and we get full help thanks to TypeScript with all of these, kind of, descriptions and options that are available inside of our code editor.

So, we love this experience now, and we think that our developers do, too. They tell us they do. And we're really excited to kind of expand on this builder pattern of building our API.

So let's get started by creating a query here. We have some arguments that are optional. Now we'll go over to the file that we have, hello.ts. Here we have a TypeScript function. We can import SDKs and whatever inside of here, but this is TypeScript. We're able to create a TypeScript resolver that we'll later deploy to the edge. I think now, with this resolver, we should start the GraphQL server, and then if we head on over to the port 4,000, we can launch Pathfinder.

In this schema that we see here, this was all generated from that TypeScript config. So we didn't have to worry about writing GraphQL SDL. We were able to just use TypeScript and forget about that you need to know GraphQL to build a backend. If you don't, you can use TypeScript to build these backends.

So as we run the next step now, we can create another mutation to RSVP to an event, maybe something like this. Then we can define some things like enums and inputs and a mutation, and we have a file now that accepts some parameters. All of this that we have here is type-safe, so you can work with TypeScript and GraphBase to create these backends, and you don't have to wait until you start the server to run into errors. We'll tell you if there is something up before you get there. And as you can see, the schema for GraphQL has been updated automatically using that TypeScript config that was converted to create this GraphQL API that you can then use for your front end.

Let's execute a mutation here with GraphQL. We will RSVP to the event. We can pass along our name and our status here, which is an enum in GraphQL, and we can send different enum values if we want to. And then when we run that operation here, that will return the data to us. So that is basically a custom GraphQL query and mutation using TypeScript that was configured using TypeScript instead of our graph-based repo. Next, we can do things like connect things like Stripe using the open API connector. And then here, thanks to TypeScript, we know exactly what we need to pass, things like headers, what the key is, what the value can be, and the same with transforms as well. We can transform the schema to exclude certain fields and queries and mutations.

6. TypeScript Benefits and GraphQL Integration

Short description:

Thanks to TypeScript, users can now get all the help they need directly in the code editor. With the OpenAPIConnector and the server running, the Stripe API is available in GraphQL without the need to learn GraphQL from a server point. GraphBase abstracts the complexity and handles tasks like passing headers and logging for you.

And again, thanks to TypeScript, we get all of this help. Before, when we use an SDL, none of our users could do that just inside the code editor alone. They were always having to go to the documentation to reference what they could and couldn't do. And that took up a lot of time, and people weren't deploying and building applications quicker. But I think now with TypeScript, they are. It's fantastic.

So, with that OpenAPIConnector added and with the server running, we get all of the Stripe API here in GraphQL thanks to the OpenAPI spec. We take that and transform that into GraphQL. And users of GraphBase that wanna build these backends don't have to worry about learning GraphQL really from a server point. We'll abstract all of that complexity for you. And things like passing headers here, we can see we forward from the client to the underlying service, this case it's Stripe, and we update that. And when you make a request from the front end, we'll just pass that right along to Stripe, which is cool. And there's things like logging so you can dive in and figure out exactly what's going on if things do go wrong, instead of your resolver.

7. Extending Stripe API with Gravatar Field

Short description:

Let's extend the Stripe API by adding a Gravatar field using custom code in our resolver. With GraphBase and TypeScript, we can easily configure this extension using the SDK.

Next, let's extend the Stripe API. Here we have a Stripe customer, the Stripe customer is the type in GraphQL for the Stripe customer, but users don't have a Gravatar field. So I think we should add one. Here's some custom code inside of our resolver that is fetching the email from that Stripe customer, and then it's creating that Gravatar URL, and then it's just gonna return a string. So now with that running, if we go to Pathfinder and we close the headers tab, we should now be able to invoke that Gravatar field that didn't exist before. That doesn't exist with Stripe, but we've been able to extend the Stripe API with GraphBase using TypeScript. Now we can pass a different value in the arguments here, and we can get a different link to get a different image size. So that has been extending Stripe with GraphBase and with TypeScript, and all we really had to do was configure what that looked like using the SDK and then writing that code.

Check out more articles and videos

We constantly think of articles and videos that might spark Git people interest / skill us up or help building a stellar career

From GraphQL Zero to GraphQL Hero with RedwoodJS
GraphQL Galaxy 2021GraphQL Galaxy 2021
32 min
From GraphQL Zero to GraphQL Hero with RedwoodJS
Top Content
Tom Pressenwurter introduces Redwood.js, a full stack app framework for building GraphQL APIs easily and maintainably. He demonstrates a Redwood.js application with a React-based front end and a Node.js API. Redwood.js offers a simplified folder structure and schema for organizing the application. It provides easy data manipulation and CRUD operations through GraphQL functions. Redwood.js allows for easy implementation of new queries and directives, including authentication and limiting access to data. It is a stable and production-ready framework that integrates well with other front-end technologies.
Local State and Server Cache: Finding a Balance
Vue.js London Live 2021Vue.js London Live 2021
24 min
Local State and Server Cache: Finding a Balance
Top Content
This Talk discusses handling local state in software development, particularly when dealing with asynchronous behavior and API requests. It explores the challenges of managing global state and the need for actions when handling server data. The Talk also highlights the issue of fetching data not in Vuex and the challenges of keeping data up-to-date in Vuex. It mentions alternative tools like Apollo Client and React Query for handling local state. The Talk concludes with a discussion on GitLab going public and the celebration that followed.
Nuxt on the Edge
Vue.js London 2023Vue.js London 2023
30 min
Nuxt on the Edge
Nuxt is a web framework with many features including server-side rendering, client-side rendering, static site generation, edge site rendering, and more. The Edge is a limited environment running on CDN nodes, such as Cloudflare network. Database options on the Edge include Postgre with Neon, Versel on Neon, Superbase, MySQL with plan scale, HyperDB, and KV with redis and Cloudflare storage. The speaker demonstrates creating a demo with a votes table, handling API requests, adding authentication, saving votes, and displaying results. The roadmap to a full stack Nuxt 3 with an edge-first experience is in progress. Copilot is a helpful tool for developers. Integrating SSO with GitHub and improving the developer experience are important considerations for Nuxt 3.
Batteries Included Reimagined - The Revival of GraphQL Yoga
GraphQL Galaxy 2021GraphQL Galaxy 2021
33 min
Batteries Included Reimagined - The Revival of GraphQL Yoga
Envelope is a powerful GraphQL plugin system that simplifies server development and allows for powerful plugin integration. It provides conformity for large corporations with multiple GraphQL servers and can be used with various frameworks. Envelope acts as the Babel of GraphQL, allowing the use of non-spec features. The Guild offers GraphQL Hive, a service similar to Apollo Studio, and encourages collaboration with other frameworks and languages.
Rock Solid React and GraphQL Apps for People in a Hurry
GraphQL Galaxy 2022GraphQL Galaxy 2022
29 min
Rock Solid React and GraphQL Apps for People in a Hurry
The Talk discusses the challenges and advancements in using GraphQL and React together. It introduces RedwoodJS, a framework that simplifies frontend-backend integration and provides features like code generation, scaffolding, and authentication. The Talk demonstrates how to set up a Redwood project, generate layouts and models, and perform CRUD operations. Redwood automates many GraphQL parts and provides an easy way for developers to get started with GraphQL. It also highlights the benefits of Redwood and suggests checking out RedwoodJS.com for more information.
Adopting GraphQL in an Enterprise
GraphQL Galaxy 2021GraphQL Galaxy 2021
32 min
Adopting GraphQL in an Enterprise
Today's Talk is about adopting GraphQL in an enterprise. It discusses the challenges of using REST APIs and the benefits of GraphQL. The Talk explores different approaches to adopting GraphQL, including coexistence with REST APIs. It emphasizes the power of GraphQL and provides tips for successful adoption. Overall, the Talk highlights the advantages of GraphQL in terms of efficiency, collaboration, and control over APIs.

Workshops on related topic

Build a Headless WordPress App with Next.js and WPGraphQL
React Summit 2022React Summit 2022
173 min
Build a Headless WordPress App with Next.js and WPGraphQL
Top Content
Workshop
Kellen Mace
Kellen Mace
In this workshop, you’ll learn how to build a Next.js app that uses Apollo Client to fetch data from a headless WordPress backend and use it to render the pages of your app. You’ll learn when you should consider a headless WordPress architecture, how to turn a WordPress backend into a GraphQL server, how to compose queries using the GraphiQL IDE, how to colocate GraphQL fragments with your components, and more.
Build with SvelteKit and GraphQL
GraphQL Galaxy 2021GraphQL Galaxy 2021
140 min
Build with SvelteKit and GraphQL
Top Content
Workshop
Scott Spence
Scott Spence
Have you ever thought about building something that doesn't require a lot of boilerplate with a tiny bundle size? In this workshop, Scott Spence will go from hello world to covering routing and using endpoints in SvelteKit. You'll set up a backend GraphQL API then use GraphQL queries with SvelteKit to display the GraphQL API data. You'll build a fast secure project that uses SvelteKit's features, then deploy it as a fully static site. This course is for the Svelte curious who haven't had extensive experience with SvelteKit and want a deeper understanding of how to use it in practical applications.

Table of contents:
- Kick-off and Svelte introduction
- Initialise frontend project
- Tour of the SvelteKit skeleton project
- Configure backend project
- Query Data with GraphQL
- Fetching data to the frontend with GraphQL
- Styling
- Svelte directives
- Routing in SvelteKit
- Endpoints in SvelteKit
- Deploying to Netlify
- Navigation
- Mutations in GraphCMS
- Sending GraphQL Mutations via SvelteKit
- Q&A
Relational Database Modeling for GraphQL
GraphQL Galaxy 2020GraphQL Galaxy 2020
106 min
Relational Database Modeling for GraphQL
Top Content
Workshop
Adron Hall
Adron Hall
In this workshop we'll dig deeper into data modeling. We'll start with a discussion about various database types and how they map to GraphQL. Once that groundwork is laid out, the focus will shift to specific types of databases and how to build data models that work best for GraphQL within various scenarios.
Table of contentsPart 1 - Hour 1      a. Relational Database Data Modeling      b. Comparing Relational and NoSQL Databases      c. GraphQL with the Database in mindPart 2 - Hour 2      a. Designing Relational Data Models      b. Relationship, Building MultijoinsTables      c. GraphQL & Relational Data Modeling Query Complexities
Prerequisites      a. Data modeling tool. The trainer will be using dbdiagram      b. Postgres, albeit no need to install this locally, as I'll be using a Postgres Dicker image, from Docker Hub for all examples      c. Hasura
Build and Deploy a Backend With Fastify & Platformatic
JSNation 2023JSNation 2023
104 min
Build and Deploy a Backend With Fastify & Platformatic
Top Content
WorkshopFree
Matteo Collina
Matteo Collina
Platformatic allows you to rapidly develop GraphQL and REST APIs with minimal effort. The best part is that it also allows you to unleash the full potential of Node.js and Fastify whenever you need to. You can fully customise a Platformatic application by writing your own additional features and plugins. In the workshop, we’ll cover both our Open Source modules and our Cloud offering:- Platformatic OSS (open-source software) — Tools and libraries for rapidly building robust applications with Node.js (https://oss.platformatic.dev/).- Platformatic Cloud (currently in beta) — Our hosting platform that includes features such as preview apps, built-in metrics and integration with your Git flow (https://platformatic.dev/). 
In this workshop you'll learn how to develop APIs with Fastify and deploy them to the Platformatic Cloud.
Building GraphQL APIs on top of Ethereum with The Graph
GraphQL Galaxy 2021GraphQL Galaxy 2021
48 min
Building GraphQL APIs on top of Ethereum with The Graph
Workshop
Nader Dabit
Nader Dabit
The Graph is an indexing protocol for querying networks like Ethereum, IPFS, and other blockchains. Anyone can build and publish open APIs, called subgraphs, making data easily accessible.

In this workshop you’ll learn how to build a subgraph that indexes NFT blockchain data from the Foundation smart contract. We’ll deploy the API, and learn how to perform queries to retrieve data using various types of data access patterns, implementing filters and sorting.

By the end of the workshop, you should understand how to build and deploy performant APIs to The Graph to index data from any smart contract deployed to Ethereum.
Hard GraphQL Problems at Shopify
GraphQL Galaxy 2021GraphQL Galaxy 2021
164 min
Hard GraphQL Problems at Shopify
Workshop
Rebecca Friedman
Jonathan Baker
Alex Ackerman
Théo Ben Hassen
 Greg MacWilliam
5 authors
At Shopify scale, we solve some pretty hard problems. In this workshop, five different speakers will outline some of the challenges we’ve faced, and how we’ve overcome them.

Table of contents:
1 - The infamous "N+1" problem: Jonathan Baker - Let's talk about what it is, why it is a problem, and how Shopify handles it at scale across several GraphQL APIs.
2 - Contextualizing GraphQL APIs: Alex Ackerman - How and why we decided to use directives. I’ll share what directives are, which directives are available out of the box, and how to create custom directives.
3 - Faster GraphQL queries for mobile clients: Theo Ben Hassen - As your mobile app grows, so will your GraphQL queries. In this talk, I will go over diverse strategies to make your queries faster and more effective.
4 - Building tomorrow’s product today: Greg MacWilliam - How Shopify adopts future features in today’s code.
5 - Managing large APIs effectively: Rebecca Friedman - We have thousands of developers at Shopify. Let’s take a look at how we’re ensuring the quality and consistency of our GraphQL APIs with so many contributors.