Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shirshendubhowmick/cube-dashboard
cube.dev based dashboard
https://github.com/shirshendubhowmick/cube-dashboard
Last synced: 18 days ago
JSON representation
cube.dev based dashboard
- Host: GitHub
- URL: https://github.com/shirshendubhowmick/cube-dashboard
- Owner: shirshendubhowmick
- Created: 2023-12-07T19:43:51.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-11T07:06:58.000Z (about 1 year ago)
- Last Synced: 2024-12-10T03:07:26.363Z (about 1 month ago)
- Language: TypeScript
- Size: 455 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Cube dashboard
Cube js based dashboard built with react
## Running locally
Make sure you have the `.env` file in project root and using Node 20 LTS
```bash
npm install
npm run dev
```## Building for production
Make sure you have the `.env` file in project root and using Node 20 LTS
```bash
npm install
npm run build
```This repo also provides a Docker compose file to start the cube API server. To start the API server, make sure you the `.env` file and run:
```bash
docker-compose up
```ENV variables:
```sh
VITE_CUBEJS_API_URL=your_cube_js_host/cubejs-api/v1
VITE_MAPBOX_ACCESS_TOKEN=your_mapbox_access_token
VITE_API_BASE_URL=your_api_base_url# The following variables are needed for the cube API server and won't get exposed to the client
POSTGRES_HOST=your_postgres_host
POSTGRES_PORT=your_postgres_port
POSTGRES_USER=your_postgres_user
POSTGRES_PASSWORD=your_postgres_password
POSTGRES_DB_NAME=your_postgres_db_name
```