A React dashboard for visualizing the data indexed in the DEX GraphQL
database.
It uses shadcn/ui for styling and TradingView for the line and candles charts.
The purpose of this example is to demonstrate which kind of data is available for querying with the indexer stack.
-
Install dependencies:
pnpm i
-
Configure the environment variables in the root
.env
file (or don't, and use the defaults):
Variable | Description | Default |
---|---|---|
NODE_ENV |
Environment (local, production) | local |
VITE_HASURA_URL |
URL of the Hasura endpoint | http://localhost:8090 |
To run the dashboard:
pnpm dev
The dashboard will be available at http://localhost:5173.
If you wish to contribute to the package, or add an example, please open an issue first to make sure that this is within the scope of the repository.
This project is licensed under the MIT License - see LICENSE for details.