This repository contains Datathing ChartKit and its companion example host app.
chartkit- the publishable
@austrade/chartkitpackage - source, build config, package README, and integration checklist
- the publishable
example-react-app- a React host app that consumes the local ChartKit package
- example queries, flat-file data, and CI smoke-test coverage
- package docs:
./chartkit/README.md
- integration checklist:
./chartkit/docs/integration-checklist.md
- example app docs:
./example-react-app/README.md
Build the package:
cd chartkit
npm install
npm run buildRun the example app:
cd example-react-app
npm install
npm run prepare:duckdb
npm run devBuild both:
cd chartkit
npm run build
cd ../example-react-app
npm run buildGitHub Actions workflow:
./.github/workflows/chartkit-ci.yml
It validates:
- package build
- example app build
- browser smoke test for the example app