- Download or clone repository
npm install
to install the required npm packages to run- To prepopulate database, run
npm seed
-
Application will be invoked by using the following command:
node server.js
-
Open your browser and go to
http://localhost:3001
Once at the homepage the users last workout results will be shown, the user will then have the option to select Continue Workout or New Workout
-
After selecting an option, the user can add their exercise by choosing an Exercise Type
- Resistance or
- Cardio
-
If Resistance is selected, the user input the following required fields:
- Exercise Name
- Weight in lbs
- Sets
- Reps
- Duration in minutes
-
If Cardio is selected, the user input the following required fields:
- Name
- Distance in miles
- Duration in minutes
-
After the required the fields are entered, the user can select Complete or Add Exercise to save the workout
-
There is a Dashboard that tracks all the workouts that was entered in graphic details
- Node
- Express
- JavaScript
- MongoDB
- Mongoose