Articles
Mohamed looks into performance testing of your GraphQL APIs with Apache JMeter.
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.
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
This article will teach you how to create integration tests for a microservice built with Apollo Server Express and MongoDB Mongoose.
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.
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
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.
Why you’d want to autogenerate your GraphQL API documentation and how you implement it, including which tools to choose.
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
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.
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.
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
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.
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
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.
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
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.
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.
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.
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
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.
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.
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
Learn how Farfetch.com adopted GraphQL and how they are using it to help build rich and unique experiences for their users.
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.
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
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.
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.
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
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.
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
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.
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.
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
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.
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.
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
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.
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
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.
If you’ve wondered how to best test your GraphQL endpoints, read this blog post from the team at Escape.
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.
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
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.
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.
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%.
GraphQL has seen widespread adoption, from the largest corporations to small startups. Achraf shares 9 tips on how to secure your GraphQL APIs.