https://github.com/discoveryjs/graphiql
GraphiQL web IDE with Discovery.js integrated in it
https://github.com/discoveryjs/graphiql
Last synced: about 1 year ago
JSON representation
GraphiQL web IDE with Discovery.js integrated in it
- Host: GitHub
- URL: https://github.com/discoveryjs/graphiql
- Owner: discoveryjs
- Created: 2020-02-17T14:54:26.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-12T02:03:33.000Z (over 3 years ago)
- Last Synced: 2024-10-25T04:28:05.066Z (over 1 year ago)
- Language: TypeScript
- Homepage:
- Size: 302 KB
- Stars: 7
- Watchers: 6
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
## GraphiQL with Discovery.js as result viewer
### Start server
```bash
GRAPHQL_ENDPOINT=https://your.endpoint/graphql npm start
```
Run in dev mode:
```bash
GRAPHQL_ENDPOINT=https://your.endpoint/graphql npm run dev
```
### Docker
Pull image and run it with `TITLE` and `GRAPHQL_ENDPOINT` env variables
```bash
docker pull discoveryjs/graphiql
docker run -p 3000:3000 -e GRAPHQL_ENDPOINT=https://your.endpoint/graphql -e TITLE="Some title" discoveryjs/graphiql
```
### Build
```
npm run build
```
Results will be placed in `dist` folder.