https://github.com/pacificcommunity/sdmx-dashboard-demo
Demo application to display dashboards from JSON config files
https://github.com/pacificcommunity/sdmx-dashboard-demo
dashboard react sdmx
Last synced: about 1 month ago
JSON representation
Demo application to display dashboards from JSON config files
- Host: GitHub
- URL: https://github.com/pacificcommunity/sdmx-dashboard-demo
- Owner: PacificCommunity
- Created: 2023-07-05T23:41:04.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-22T06:34:30.000Z (9 months ago)
- Last Synced: 2024-08-23T01:11:23.091Z (9 months ago)
- Topics: dashboard, react, sdmx
- Language: TypeScript
- Homepage: https://dashboard-creator-iota.vercel.app
- Size: 407 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SDMX Dashboard Demo application
Manage your dashboard config files (JSON format) and preview dashboards
using the [sdmx-dashboard-components](https://github.com/PacificCommunity/sdmx-dashboard-components) client application.## Online demo
Demo is available on Vercel here:
https://dashboard-creator-thhomas-projects.vercel.app/## Configuration
By default JSON files are saved in local file system (in `./public/uploads/` folder)
To store JSON files as Github Gists, add 2 environment variables
(in .env.local for instance)```
GIST_TOKEN=
GIST_PUBLIC=false
```## How to define your dashboard
A guide on how to write a JSON configuration file is available in [here](./public/doc.md)
## Running the development server
```bash
npm run dev
# or
yarn dev
# or
pnpm dev
```Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
## Build and run docker image
```
docker build -t sdmx-dashboard-demo .docker run -p 3000:3000 sdmx-dashboard-demo
```