graphql-engine/console
2018-09-14 14:11:03 +05:30
..
bin add console to graphql-engine 2018-06-28 10:27:37 +05:30
cypress add parallel tests and update dependencies (#374) 2018-09-08 23:01:14 +05:30
src fix add manual relationships state (close #442) (#450) 2018-09-14 14:11:03 +05:30
static ui buttons to export and import metadata, reload metadata api (close #293) (#323) 2018-09-05 20:55:30 +05:30
webpack refactor: convert function expression to arrow function (#181) 2018-07-23 11:59:56 +05:30
.babelrc add console to graphql-engine 2018-06-28 10:27:37 +05:30
.bootstraprc add console to graphql-engine 2018-06-28 10:27:37 +05:30
.eslintignore add console to graphql-engine 2018-06-28 10:27:37 +05:30
.eslintrc add console to graphql-engine 2018-06-28 10:27:37 +05:30
.gitignore fix and/or expressions in permissions builder (#119) 2018-07-12 00:51:26 +05:30
CONTRIBUTING.md fix secure endpoint link, update contributing guide (#117) 2018-07-11 20:07:23 +05:30
cypress.json add parallel tests and update dependencies (#374) 2018-09-08 23:01:14 +05:30
hasuraconfig.js add console to graphql-engine 2018-06-28 10:27:37 +05:30
index.js export event triggers component (#386) 2018-09-10 17:48:20 +05:30
Makefile console: add gzip compression to deployments (#94) 2018-07-11 12:19:03 +05:30
package-lock.json add parallel tests and update dependencies (#374) 2018-09-08 23:01:14 +05:30
package.json add parallel tests and update dependencies (#374) 2018-09-08 23:01:14 +05:30
README.md fix secure endpoint link, update contributing guide (#117) 2018-07-11 20:07:23 +05:30

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.