https://github.com/shipshapecode/backstage-graphql-voyager
https://github.com/shipshapecode/backstage-graphql-voyager
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/shipshapecode/backstage-graphql-voyager
- Owner: shipshapecode
- Created: 2021-09-10T17:16:05.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-10-12T20:58:26.000Z (over 3 years ago)
- Last Synced: 2025-02-16T12:30:03.274Z (11 months ago)
- Language: TypeScript
- Size: 507 KB
- Stars: 0
- Watchers: 2
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Backstage graphql-voyager plugin
## Setup
1. If you have a standalone app (you didn't clone this repo), then do
```bash
# From your Backstage root directory
cd packages/app
yarn add @shipshapecode/plugin-graphql-voyager
```
2. Add the `GraphqlVoyagerPage` page to the routes in your app:
```tsx
import { GraphqlVoyagerPage } from '@shipshapecode/plugin-graphql-voyager';
// down in the sidebar
}/>
```
3. Add app config:
```
graphql:
baseUrl: 'https://www.myapi.com/graphql'
```