0.1.1 • Published 2 years ago

@shipshapecode/backstage-plugin-graphql-voyager v0.1.1

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
2 years ago

Backstage graphql-voyager plugin

Setup

  1. If you have a standalone app (you didn't clone this repo), then do
# From your Backstage root directory
cd packages/app
yarn add @shipshapecode/plugin-graphql-voyager
  1. Add the GraphqlVoyagerPage page to the routes in your app:
import { GraphqlVoyagerPage } from '@shipshapecode/plugin-graphql-voyager';
// down in the sidebar
    <Route path="/graphql-voyager" element={<GraphqlVoyagerPage />}/>
  </FlatRoutes>
</SidebarPage>
  1. Add app config:
  graphql:
    baseUrl: 'https://www.myapi.com/graphql'