graphql-engine/console
Rishichandra Wawhal a2a85b8952 console: fix #40 react table resizing/sorting bug (#41)
* Fix #40

* console: bug fix where a non-action was being dispatched
2018-07-04 18:15:48 +05:30
..
bin add console to graphql-engine 2018-06-28 10:27:37 +05:30
cypress console: update tests for multiple modes 2018-07-03 12:47:08 +05:30
src console: fix #40 react table resizing/sorting bug (#41) 2018-07-04 18:15:48 +05:30
static add console to graphql-engine 2018-06-28 10:27:37 +05:30
webpack add console to graphql-engine 2018-06-28 10:27:37 +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 console: update gitignore 2018-06-28 10:33:53 +05:30
CONTRIBUTING.md add console to graphql-engine 2018-06-28 10:27:37 +05:30
cypress.json console: update tests for multiple modes 2018-07-03 12:47:08 +05:30
hasuraconfig.js add console to graphql-engine 2018-06-28 10:27:37 +05:30
Makefile build: integrate circleci 2018-07-03 22:40:13 +05:30
package-lock.json console: update tests for multiple modes 2018-07-03 12:47:08 +05:30
package.json console: fix migration status in hasuradb mode, ui fixes, deps update (#32) 2018-07-02 19:13:12 +05:30
README.md console: update tests for multiple modes 2018-07-03 12:47:08 +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.

Contributing

To suggest a feature, create an issue if it does not already exist. If you would like to help develop a suggested feature follow these steps:

  • Fork this repo
  • Install dependencies with $ npm install
  • Implement your source code changes to files in the src/ directory
  • Write your tests in the cypress/ directory
  • Run the hasura console production server by executing hasura console
  • Run the hasura console locally with $ npm run dev
  • Submit PR for review