Health Tracker is a web application which allows users to monitor and track their health. Users will sign up which includes creating a profile of where they are at currently. Features of this application will be that the users can set up their individual weekly workout plans and have pre-set calories for the day. The application will also have tracking of the calories they consume. This will help the user achieve their health goals while providing an insight to their fitness. Other possible features include having reminders if goals are met or asking if they have done the work.
The unit tests are in the test folder. To run the test, you need to install mocha, along with all the dependencies listed in packge.json
After you've installed mocha, cd to the project folder and run the following command to run the test
$ mocha --exit
Here is a Youtube demo video on how to install the test tool kit and run the test
$ heroku git:remote -a cmpt276-spring-group-project
Assuming that you have Postgres installed locally, use this command to connect to the remote database.
$ heroku pg:psql
this web application is build using the "node-js-getting-started" template on Heroku. Below is the origional README information:
A barebones Node.js app using Express 4.
This application supports the Getting Started on Heroku with Node.js article - check it out.
Make sure you have Node.js and the Heroku CLI installed.
$ git clone https://github.com/heroku/node-js-getting-started.git # or clone your own fork
$ cd node-js-getting-started
$ npm install
$ npm start
Your app should now be running on localhost:5000.
$ heroku create
$ git push heroku master
$ heroku open
or
For more information about using Node.js on Heroku, see these Dev Center articles: