2lambda123 / dowjones-rover-runner

Other
0 stars 0 forks source link

Rover Runner README

Welcome to the Rover Runner! With this extension you can run your supergraph on your local machine using a mix of local and Apollo-based variant subgraphs

Menu Screenshot

Features

This extension let's you do the following:

Requirements

Make sure you have the Rover CLI installed! You can get this at: https://www.apollographql.com/docs/rover/getting-started

This extension requires a supergraph.json file at .rover-runner/supergraph.json with the following format:

{
  "subgraphs": {
    "Subgraph1": {
      "path": "/Users/name/Desktop/repos/subgraph",
      "localUrl": "http://localhost:3000/graphql"
    },
    "Subgraph2": {
      "path": "subgraphs/subgraph2",
      "localUrl": "http://localhost:3001/graphql"
    },
    "Subgraph3": {
      "path": "subgraphs/subgraph3",
      "localUrl": "http://localhost:3002/graphql",
      "devUrl": "https://sampleendpointoverridingstudioconfig.com/graphql"
    }
  },
  "supergraphs": {
    "Supergraph1": ["Subgraph1", "Subgraph3"],
    "Supergraph2": ["Subgraph2", "Subgraph3"]
  }
}

Some notes about this format:

Lastly, this extension also requires a router.yaml file at .rover-runner/router.yaml.

Known Issues

Release Notes

0.2.4

Add description to extension

0.2.3

README updated for open source

0.2.2

Open Source Release

For Devs

Make sure the root folder in your workspace is rover-runner or else you won't be able to debug the app

Following extension guidelines

Ensure that you've read through the extensions guidelines and follow the best practices for creating your extension.