This is a web application for keeping track of workout routines, and gives you a data visualization of the past 7 days that a user logs their workouts. This makes use of Node.js, Express and MongoDB as the stack. A deployed version can be found here.
To install this for local testing:
- Make sure you have node.js installed on your local machine.
- Then clone or download the repository. Navigate to the root directory of the copy in your CLI and run the following to install all required dependencies:
npm install
- You will need to have a MongoDB server installed on your local machine to access the data. You can install the community version here.
- Once you have MongoDB set up, run the following command in your CLI to create seed data:
npm run seed
- Finally, run the following to start the server on localhost 3000:
npm start
- Click "New Workout" to start a new workout session, and it will prompt you for your exercise details.
- If you want to continue adding exercises to a current workout, click "Continue Workout".
- A workout is completed either by clicking "Complete Workout", or by creating a new workout.
- To view a data visualization of your past 7 workouts, click on "Dashboard" in the navbar.
- To return to the main main, click "Fitness Tracker" in the navbar.