https://github.com/subsquid/graphiql-console
GraphiQL based console for GraphQL API exploration
https://github.com/subsquid/graphiql-console
Last synced: 8 months ago
JSON representation
GraphiQL based console for GraphQL API exploration
- Host: GitHub
- URL: https://github.com/subsquid/graphiql-console
- Owner: subsquid
- Created: 2021-07-31T14:55:37.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-08-27T12:11:16.000Z (almost 4 years ago)
- Last Synced: 2025-02-24T07:50:58.109Z (over 1 year ago)
- Language: JavaScript
- Size: 686 KB
- Stars: 2
- Watchers: 8
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This is a fork of https://github.com/OneGraph/graphiql-explorer-example wrapped into
a standalone docker container.
## Usage
```
docker build . -t graphiql-console
docker run \
-e APP_TITLE='GraphQL console' \
-e GRAPHQL_API='http://server/graphql' # GraphQL http endpoint as seen by browser
-p 8888:80
graphiql-console
```
Now you can go to `http://localhost:8888` and play with your API.
Alternatively, you can omit environment variables and pass all parameters via url:
```
docker run -p 8888:80 graphiql-console
open http://localhost:8888?graphql_api=http%3A%2F%2Fserver%2Fgraphql
```