Setup build system for reference website & publish
The easiest way to do this would be to modify the GraphQL Voyager UI to be built as a static site rather than using the express middleware, and deploy that on a gh-pages branch. We'd need to:
- modify the setup to use
react-scriptsand the raw Voyager React component instead ofgraphql-voyager/middleware - setup a static build of the schema introspection query via some of the
graphql-toolsutilities (seegraphqlSync) - setup a static build of the site with
react-scriptswhich also inlines the introspection query result
@fosterlynn @bhaugen does this sound like (at least a part of) the correct course of action to you? Then that UI can be published to valueflows.github.io/vf-graphql and linked to from the main site as needed (you can preview with npm start by navigating to http://localhost:3000/viewer).