This is the https://tmi.krishnapa.tel/ health dashboard aka Krishna's TMI. It's meant as a health dashboard to track daily exercise activity.
A db with health info is required. Here is an example:
dates | calories_passive | calories active |
---|---|---|
2019-01-03 | 1972.76 | 574.602 |
2019-01-02 | 1945.61 | 431.924 |
shapeData
and the other chart.js
utils show what format the dashboard will work with.
You will need the following things properly installed on your computer.
- Git
- Node.js (with npm)
- Ember CLI
- Google Chrome
git clone <repository-url>
this repositorycd health-dashboard
yarn install
ornpm install
ember serve
- Visit your app at http://localhost:4200.
- Visit your tests at http://localhost:4200/tests.
Make use of the many generators for code, try ember help generate
for more details
ember test
ember test --server
npm run lint:hbs
npm run lint:js
npm run lint:js -- --fix
ember build
(development)ember build --environment production
(production)
Host static assets from the build process at root level (example.com/
) or change the root url in the app build config.