This is a simple Domo App built to be used in conjunction with the Domo U training module which can be found in the Domo Appstore. The objective of that course is to build a version of this app from scratch. This source code is provided as a reference to make sure you're staying on track.
This app has been kept very basic by design. We've included a few libraries for convenience but kept with the basics as much as possible.
- JS / HTML / CSS
- Vega
- Query
- ryuu.js: npm equivalent of domo.js
- numeral.js
This app comes with a package.json
which includes a few npm scripts for convenience. They're mostly just wrappers for domo
commands such as domo publish
and domo dev
, with an added utility to copy node modules into your app.
- Clone repo
git clone [email protected]:DomoApps/sales-hero.git
- Change directory to the new project and install dependencies
npm install
- Upload sample data to your Domo instance.
We've provided a sample dataset that you can use for testing. See /data for spreadsheet.
- Update
manifest.json
Once you've uploaded your sample dataset you'll have to update our manifest mapping to reference the new dataset Id. The Id can be found in the URL when viewing your dataset detail
https://[customer].domo.com/datasources/[dataset-id-here]/details/overview
- Publish design
Publishing your app will generate a design Id, which you'll need to develop locally.
npm run publish
- Develop
Once you've published your design, you can start the local dev server to start making changes to the code.
npm start