Skip to content

Latest commit

 

History

History

mercurius-federation

Federation with Mercurius

Federation allows you to split your unified schema in multiple pieces, managed by separate services. This has benefits for scaling and maintainability.

  1. Run npm run start-registry
  2. Run npm run start-services
  3. Run npm run start-gateway
  4. Visit playground http://localhost:3002/playground

Try

{
  topProducts {
    name
    inStock
    shippingEstimate
    reviews {
      id
      author {
        name
      }
      product {
        name
      }
    }
  }
}