0.1.26 • Published 2 years ago

data-explorer-graphql v0.1.26

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Data Explorer app based on GraphQL data API - https://github.com/datopian/data-api.

deploy code style: prettier

Live demo: demo

codecov

Features

  • Table preview of the data + pagination
  • Filter data by any of the fields
  • Preview the filtered data
  • Download data in various formats
  • Download filtered data in various formats

Development

Make sure that you have Data API service available locally. To set it up, please, follow instructions in https://github.com/datopian/data-api.

By default, Data Explorer app would expect GraphQL engine to be available at http://localhost:3333/v1/graphql. You can change it by editing data-api attribute in /public/index.html.

Install dependencies and start the app:

yarn && yarn start

If you want to use Storybook:

yarn storybook

which should start the server with pre-defined configurations.

Deployment

  1. Build the app:
yarn build
  1. Move the bundles to your site. Make sure you have div elment with id root in the HTML. That element should provide following attributes:
  • data-api - your GraphQL API endpoint, e.g., https://data-api.com/v1/.
  • data-dataset - dataset name which should be a table/view name that we can query using GraphQL API.
  • data-schema - tableschema for the dataset.

Tests

To run the integration tests in CLI:

yarn e2e

To run the integration tests in GUI:

yarn cypress:open

License

This project is licensed under the MIT License - see the LICENSE file for details.

0.1.26

2 years ago

0.1.25

2 years ago

0.1.24

2 years ago

0.1.23

2 years ago

0.1.22

2 years ago

0.1.21

2 years ago

0.1.20

2 years ago

0.1.19

2 years ago

0.1.18

2 years ago

0.1.17

2 years ago

0.1.16

2 years ago

0.1.15

2 years ago

0.1.14

2 years ago

0.1.13

2 years ago

0.1.12

2 years ago

0.1.11

2 years ago

0.1.8

2 years ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.0

2 years ago