GraphQL with Mercurius Examples

This repository contains examples of how to use Mercurius with GraphQL in Node.js.

Examples

  • Basic - A basic example of how to use Mercurius with GraphQL to build a Simple Blog Post with JavaScript.
  • Typescript - A basic example of how to use Mercurius with GraphQL to build a Simple Blog Post with TypeScript.
  • N+1 - How to resolve the N+1 problem with Mercurius.
  • Custom Directives and Validations - How to create custom directives and validations with Mercurius.
  • Authentication - How to build authentication with Mercurius.
  • Federation and Gateway - How to build a federated GraphQL API with Mercurius.