Skip to content

Latest commit

 

History

History
29 lines (25 loc) · 573 Bytes

File metadata and controls

29 lines (25 loc) · 573 Bytes

Federation with Apollo Gateway

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:4000/playground

Try

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