Solana DEX dashboard
The Primodium DEX Dashboard is a React-based dashboard for visualizing the data indexed in a database and accessed via the Primodium DEX GraphQL client. It uses shadcn/ui (opens in a new tab) for styling and TradingView (opens in a new tab) for the line and candles charts.
The purpose of this dashboard is to visualize conveniently top-ranked tokens that will show up in the iOS app, with their line & candles charts, as well as user analytics to understand the user behavior.
The source code for this repository is available on Github here (opens in a new tab).
Installation
-
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 |
Usage
To run the dashboard:
pnpm dev # from dashboard
pnpm dev:dashboard # from root
The dashboard will be available at http://localhost:5173 (opens in a new tab).
Contributing
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.
License
This project is licensed under the MIT License - see LICENSE (opens in a new tab) for details.