graphql-engine-console

hasura
js Styles
graphql-engine-console JS library homepage graphql-engine-console JS library on GitHub graphql-engine-console JS library on npm Download graphql-engine-console JS library

Console for Hasura GraphQL Engine

Version 0.1.1 License AGPLv3
graphql-engine-console JS library homepage
graphql-engine-console JS library on GitHub
graphql-engine-console JS library on npm
Download graphql-engine-console JS library

Usage of Environment Variables

This app uses a few environment variables which are required for development. The production build uses values directly injected by the server serving this app.

We use dotenv for setting environment variables for development. Create a `.env' file in the root directory (wherever package.json is) and set the following values. Replace accordingly for testing.

PORT=3000
NODE_ENV=development
DATA_API_URL=http://localhost:9000
API_HOST=http://localhost
API_PORT=9693
ACCESS_KEY=abcd
CONSOLE_MODE=cli
DEV_DATA_API_URL=http://localhost:9000
URL_PREFIX=/

Note The .env file should not be in version control.