The purpose of this app is to display a user's data, such as sleep, hydration and activity for the latest day and week including comparisions to the average of all user's for each topic. The user is able to add their own data for a given date.
npm install
to install project dependencies.npm start
in the terminal to see the HTML page. Control + C
is the command to stop running the local server. Closing the terminal without stopping the server first could allow the server to continue to run in the background and cause problems. This command is not specific to Webpack; make note of it for future use. npm audit fix --force
. This will update to the latest version of packages. We need to be using webpack-dev-server@3.11.2
which is not the latest version. If you start to run into Webpack errors, first check that all group members are using the correct version. Some future features would be to add each user's friends activity and rank them highest to lowest in a right side panel. Another feature would be to add a profile image for each user. A separate page view to add data would also be a fun future feature so that the page isn't cluttered.