Data Explorer app based on GraphQL data API - https://github.com/datopian/data-api.
- 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
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
- Build the app:
yarn build
- Move the bundles to your site. Make sure you have
div
elment with idroot
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.
This project is licensed under the MIT License - see the LICENSE file for details.