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

Articles

GraphQL Performance Testing With Apache JMeter

Mohamed looks into performance testing of your GraphQL APIs with Apache JMeter.

GraphQLGate - Rate Limiting with Query Complexity for Node.js

Evan introduces a new open source library that helps you implement rate-limiting and query complexity analysis for your Node.js and Express-based GraphQL services.

No, GraphQL Persisted Queries are not “Reinventing a REST API”

Marc-André looks into Persisted Queries, their advantages, and the problems they help solve. And why using APQs did not magically transform your GraphQL server into a REST API.

Articles

NX: Integration testing Apollo GraphQL and MongoDB Mongoose with Jest

This article will teach you how to create integration tests for a microservice built with Apollo Server Express and MongoDB Mongoose.

Implement Relay Cursor Connections Specification in NestJS with GraphQL Relay

Pagination in GraphQL can be a pain to implement, especially if you don't have a good architecture in place. This article will show you how to create a simple interface that will make pagination easier for you.

How to Build a Photo Sharing App with Nuxt 3, GraphQL, Cloudinary, Postgres and Strapi

This tutorial will show you how to set up a Headless CMS using a Strapi backend with PostgreSQL as the database and Cloudinary for image uploads. We'll also look into using Nuxt 3 for our frontend, which has SSR support and is compatible with Vue3.

Articles

Neo4j and GraphQL in One Toolbox

The Neo4j GraphQL Toolbox is a new user interface that allows you, with minimal effort, to write and execute GraphQL queries and mutations against your Neo4j database, with absolutely no setup required.

How to Autogenerate GraphQL API Documentation

Why you’d want to autogenerate your GraphQL API documentation and how you implement it, including which tools to choose.

Compare REST with GraphQL for Performance Testing Using StepZend and k6

Performance testing is essential when choosing any new technology, and GraphQL is no different. Roy explores using k6 for performance testing and compares a GraphQL API with its REST-based counterpart.

Articles

How to build a serverless GraphQL API with Cosmos DB

In this guide, we’ll look at how to build a GraphQL API in Node.js with Apollo Server. By running it on Azure Functions with Cosmos DB for data storage, we can build a highly scalable serverless GraphQL API, removing the need to manage server infrastructure.

Building a unified GraphQL API with Apollo Router

In this article, you will see a practical example of building a unified GraphQL API (supergraph) composed of multiple GraphQL APIs (subgraphs). This is achieved with Apollo Router which recently became generally available.

🦄 Deep dive on authentication, authorization and RBAC for GraphQL Servers

GraphQL is a great way to build strongly typed, self documenting applications. One of the key concepts in GraphQL is that the server provides a single endpoint where it exposes all the data in a graph like structure that the clients can request from. Hence, our application needs to control who (authentication) can see and interact with what parts (authorization) of the data it provides.

Articles

GraphQL API Schemas: Designing a better one

Youssef shares some great tips on how to design better GraphQL APIs. Whether you're just getting started or are already a seasoned GraphQL developer, there's something to learn from his article.

Announcing GraphQL Hive, the complete GraphQL API manager

GraphQL Hive is a new tool from The Guild that helps developers better understand their APIs. It supports a schema registry, performance monitoring, alerts, and integrations. Works with all kinds of GraphQL APIs and is open source.

Articles

Airbnb’s Microservices Architecture Journey To Quality Engineering

If you’re interested in learning more about how large companies solve their engineering challenges, this article from Antoine on Airbnb's journey is a must-read.

GraphQL Composite Schemas Working Group

There are many different ways to combine GraphQL schemas, and it’s often challenging to design your schema in a way that makes it easy to use for composite schemas later on. Benjie proposes a GraphQL Working Group to look into this issue and start working on a common spec.

Articles

Monitoring GraphQL APIs with OpenTelemetry

If you are running a GraphQL API in production, you’ll need to monitor it. OpenTelemetry is an OSS, vendor-agnostic set of tools that allows you to do just that.

Learn GraphQL In One Week

We’ve already featured “Learn GraphQL In One Week” in issue 279, but now that all episodes are out, we wanted to bring it up again. So, if you’re interested in learning GraphQL, give this free course a try and build a full-stack eCommerce application with GraphQL Yoga, Prisma, and Planetscale.

Make WPGraphQL 56% faster with the new GraphCDN integration

GraphCDN recently released their Wordpress plugin that makes setting up GraphCDN with WPGraphQL a breeze. No need to worry about invalidation, the plugin takes care of all of that for you, and you can enjoy a speed increase on your API.

The supergraph: a new way to think about GraphQL

Apollo released a new version of their Apollo Router, their high-performance federation engine. In this article, Matt covers what changed and how the new engine enables a new architecture that solves the needs of the largest GraphQL users.

Articles

GraphQL is a Trap?

A couple of days ago, a Twitter thread claimed that GraphQL was a trap. Marc-André took the time to take a closer look and clear up some misconceptions.

The Heroes of GraphQL

Tim takes a look at the history and, more importantly, the people who helped make GraphQL the powerful technology it is today. Then, it'll take you on a journey from its beginnings at Facebook to Sangria, the GraphQL Foundation, and everybody working on the various projects today.

Adding GraphQL to your Django App

Look at Patrick's article if you're working on a Python application and thinking about adding GraphQL to your stack. It'll walk you through various options and helps you decide which tooling to use and how to implement and expose your new GraphQL endpoint.

Articles

GraphQL Sessions: Powering Farfetch.com

Learn how Farfetch.com adopted GraphQL and how they are using it to help build rich and unique experiences for their users.

Mission Possible: Performant GraphQL APIs made easy in Elixir

If you are working with Elixir and GraphQL, Eric has a great article on how to implement and maintain your GraphQL API, which problems you are likely to run into and how to solve them.

Intercepting GraphQL Requests with Cypress

Cypress offers fantastic tooling for building end-to-end tests with Javascript. And the “cy.intercept()” function allows you to intercept network requests. David explores how to use this to mock your GraphQL APIs in testing.

Articles

Introducing GraphQL Joins for federating data across GraphQL services

The Hasura team is excited to announce the release of Hasura v2.6.0, which includes their new GraphQL Joins feature. Joins allow developers to federate their queries and mutations across multiple GraphQL services without modifying the underlying services or writing additional code.

Learning GraphQL Roadmap: 8 Steps to Master GraphQL

GraphQL sees adoption like crazy, and we obviously 😍 this. But the learning curve is steep, and there are a lot of misconceptions out there. So if you’re just getting started (or want to touch upon your knowledge), the Escape team provides you with a list of steps and resources you can go through to step up your GraphQL game.

Why You Should Not Pass Input Parameters Using DGS Custom Context

The Fiverr engineering team encountered a lot of exciting scenarios in their journey to using GraphQL. In this article, they share details on using DGS custom context, which will be helpful for developers who are getting started with GraphQL, Netflix’s DGS, and Kotlin.

Articles

Create real-time applications via serverless webSockets with new AWS AppSync GraphQL subscriptions filtering capabilities

With AWS AppSync, you can create serverless GraphQL APIs that simplify application development by providing a single endpoint to securely query or update data from multiple data sources and leverage GraphQL subscriptions to implement engaging real-time application experiences by automatically publishing data updates to subscribed API clients via serverless WebSockets connections.

API Design Best Practices for long-running operations: GraphQL vs REST

Jens looks at using GraphQL for long-running requests, how it compares to a REST-based API, and the pros and cons of each approach.

Articles

Everything You Wanted to Know About GraphQL (But Were Afraid to Ask)

If you are just getting started with GraphQL and have many questions, this article will give you some answers and help you better understand what GraphQL is and how to best use it.

GraphQL Error Handling: a Security POV

Error messages in GraphQL APIs are seldom seen as a security concern. However, they can disclose critical information about the internals of your service or even private data like keys.

How Netflix Content Engineering makes a federated graph searchable

The Netflix Engineering team shared their experience transitioning to a federated GraphQL platform, what it enabled their teams to achieve and how they made the graph searchable.

Articles

Exploring the future potential of generic GraphQL error codes

Leonardo explores the possibilities of standardized error codes. He provides an overview of where they have already been discussed, the benefits of adding them to the spec, and a potential design and implementation.

What we learned about cache hit rates from caching thousands of GraphQL APIs

Max looks at what the GraphCDN team has learned about cache hit rates over the last couple of months and how your use case might affect it.

GraphQL Fastify vs Apollo Server — Learnings from the real world

Rui dives into issues they were facing with their production GraphQL deployment and how they overcame them. In the process, he’ll also compare Apollo GraphQL to GraphQL Fastify Server

Articles

Building a type-safe Fullstack Application with GraphQL codegen

If you are not (yet) familiar with GraphQL codegen, this article by Achraf from escape provides you with a good overview of what it’s all about and how you can benefit from it in your next project.

GraphQL Subscriptions with JavaScript and Apollo Server

If you want to learn more about GraphQL Subscriptions and how to use them within Apollo Server, read the following article that guides you through all the required steps.

Articles

GraphQL: Lessons Learned

Dhruv from Treebo shares lessons learned from their GraphQL experience so far. Whether you’re just getting started or are already a seasoned GraphQL user, I’m sure you have some excellent takeaways.

Testing your GraphQL Endpoints

If you’ve wondered how to best test your GraphQL endpoints, read this blog post from the team at Escape.

GraphQL Error Handling to the Max with Typescript, codegen and fp-ts

Improve your GraphQL APIs' error handling using union types and interfaces. And handle them safely on the client-side. And you can take it a step further using functional programming.

GraphQL Queries for Implementing a Custom Shopify Storefront

If you’re looking to develop a custom Shopify store, make sure to read Markus's guide on how to implement this using their GraphQL API and Next.js

Articles

GraphQL and Design Clarity

Dave explores how keeping your GraphQL schema in mind will help when designing and implementing your next feature and how this can help coordinate between various teams working on your application.

Combining Multiple GraphQL Backends with Schema Stitching

Peter shows how Splitgraph uses GraphQL Schema Stitching to provide a single, coherent schema for all of your backend services. He explores how this can make it easier to add new backend services and extend the types and fields offered by others.

Super fast WPGraphQL at Scale with GraphQL Edge Caching at Patronage

Patronage shares their story on how they build 30 to 40 websites per year based on WordPress, WPGraphQL, and Next.js. And how adding GraphQL edge caching to their stack helped reduce traffic to their backend service by 99%.

9 GraphQL Security Best Practices

GraphQL has seen widespread adoption, from the largest corporations to small startups. Achraf shares 9 tips on how to secure your GraphQL APIs.

Feeling nerdy? Query issues of GraphQL Weekly, with GraphQL itself!
Powered by the GraphQL Playground
Enter a query
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{
  allIssues {
    id
    title
    published
    number
    date
    author {
      avatarUrl
      description
      name
    }
  }
}
or press CMD + Enter
Result
Curated by Stellate, and the awesome GraphQL community.