Skip to content

This application is a workout tracker that allows a user to track daily workouts and see statistics on their last seven workouts.

Notifications You must be signed in to change notification settings

johannaleal/workout-tracker

Repository files navigation

Workout Tracker

License: MIT

Description

In this project, I created a workout tracker app where a user will be able to track daily workouts. A user can do the following:

  • Create and view a daily workout
  • Add multiple exercises to the most recent workout plan
  • Add new exercises to a new workout plan
  • Track the name, type, weight, sets, reps, and duration of an exercise. If the exercise is a cardio exercise, it will track the distance traveled.
  • View the combined weight of multiple exercises from the past seven workouts on a statistics page
  • View the total duration of each workout from the past seven workouts on a statistics page

This application uses a Mongo database with a Mongoose schema and handles routes with Express.

Table of Contents

Installation

  1. Clone this repo.
  2. Install node.js. It can be downloaded here: node.js Downloads
  3. Initialize npm:

    npm init -y

  4. Install npm:

    npm install

  5. Install Express npm package:

    npm install express

  6. Install MongoDB.
  7. Create a workout database in MongoDB.
  8. Run the /seeders/seed.js file to populate the database.

Usage

To run this app:

  1. Open the console in the directory where the server.js file is located and run the following command:

    node server

  2. Click on Continue Workout to add an exercise to the last workout entered.
  3. Click on New Workout to start a new workout plan.
  4. Click on the Dashboard link on the upper left corner of the blue navigation bar to see your workout statistics.

Screenshots

Index Page

Index Page

Add Exercise Page

Add Exercise Page

Statistics Page

Statistics Page

Website

Deployed Website

Repository

Code Repository

License

This application is covered under license: MIT License.

Contributing

If you would like to contribute to this repository, please contact me via the email below to discuss the changes you wish to make.

Questions

Contact Information

GitHub Profile: @johannaleal

Email: [email protected]

About

This application is a workout tracker that allows a user to track daily workouts and see statistics on their last seven workouts.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages