Skip to content

Micka33/dataviz-cubejs

Repository files navigation

Install

git clone git@github.com:Micka33/dataviz-cubejs.git
cd dataviz-cubejs
touch .env
npm install

Fill in .env file

CUBEJS_DB_BQ_PROJECT_ID=<YOUR_DB_BQ_PROJECT_ID>
CUBEJS_DB_BQ_KEY_FILE=<YOUR_DB_BQ_KEY_FILE>
CUBEJS_DB_TYPE=bigquery
CUBEJS_API_SECRET=<SECRET>
  1. Get your Google Cloud Project id and fill in CUBEJS_DB_BQ_PROJECT_ID. Or Create a Google Cloud Project
  2. Get your Google Key file path and fill in CUBEJS_DB_BQ_KEY_FILE. Or:
    • Create a service account in your project
    • Add the following roles: BigQuery Data Viewer, BigQuery Metadata Viewer and BigQuery Job User
    • Create key (JSON) and store it (eg: ~/.gcloud/keyname.json)
    • Set the path in your .env file

Run Backend

npm run dev

Visit http://localhost:4000/#/build

Run Client

Either through the backend. Or

cd dashboard-app
npm start

Visit http://localhost:3000/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •