Skip to content

Fitness Tracker - This project is a workout tracker that can log multiple exercises in a workout. When tracking a workout you can choose from two categories resistance or cardio, for a resistance exercise you can track the name, type, weight, sets, reps, and duration. For a cardio exercise, you can track the distance.

License

Notifications You must be signed in to change notification settings

ByteSizeError/Fitness-Tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fitness-Tracker

Description

This project is a workout tracker that can log multiple exercies in a workout. When tracking a workout you can choose from two categories resistance or cardio, for a resistance exercise you can track the name, type, weight, sets, reps and duration. For a cardio exercise you can track the distance. My motivation for this project was to help track my workouts daily and able to see my progress throught the week. This project helped me improve my skills on MongoDB and Mongoose as well as setting up and using MongoDB Atlas on Heroku.

Link to the Project

Table of Contents

Installation

  • To clone the repository
    • Make sure you have right access to pull in the repository either by applying 'ssh' keys or by providing a username and password'
    • Make sure your path is proper
    • Copy the git command to where you want to clone the repository
    git clone git@github.com:ByteSizeError/Fitness-Tracker.git
    
    • You will see a Fitness-Tracker folder.
  • An alternate document to clone a repo can also be found at github

Project Demo

Homepage

homepage

  • Shows the latest workout the user has added to

Adding Exercise

add exercise

  • Here the user has an option to choose between resistance or cardio exercise to add

Adding Resistance Workout

resistance exercise

  • For the resistance exercise the user has to fill in the name, weight, sets, reps, and duration of the exercise

Adding Cardio Workout

cardio exercise

  • For the cardio exercise the user has to fill in the name, distance, and duration of the exercise

Last Workout Updated

last workout

  • Shows the users the last workout they added

Stats Page

stats page

  • Shows the users their duration for the cardio on the left and the total amount of weights for each workout on the right

Usage

  • Users can add exercise to their most recent workout plan
  • Users can add exercise to a new workout plan
  • Users can view the combined weight of multiple exercises from the past seven workouts
  • Users can view total duration of each workout from the past seven workouts

License

License: MIT

https://www.mit.edu/~amini/LICENSE.md


      Copyright (c) 2021 Jimmy Zheng

      Permission is hereby granted, free of charge, to any person obtaining a copy
      of this software and associated documentation files (the "Software"), to deal
      in the Software without restriction, including without limitation the rights
      to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
      copies of the Software, and to permit persons to whom the Software is
      furnished to do so, subject to the following conditions:

      The above copyright notice and this permission notice shall be included in all
      copies or substantial portions of the Software.

      THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
      IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
      FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
      AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
      LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
      OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
      SOFTWARE.

Contributing

Contributor Covenant

We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, caste, color, religion, or sexual identity and orientation.

We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.

Examples of behavior that contributes to a positive environment for our community include:

  • Demonstrating empathy and kindness toward other people.
  • Being respectful of differing opinions, viewpoints, and experiences.
  • Giving and gracefully accepting constructive feedback.
  • Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience.
  • Focusing on what is best not just for us as individuals, but for the overall community.

Examples of unacceptable behavior include:

  • The use of sexualized language or imagery, and sexual attention or advances of any kind
  • Trolling, insulting or derogatory comments, and personal or political attacks
  • Public or private harassment
  • Publishing others' private information, such as a physical or email address, without their explicit permission
  • Other conduct which could reasonably be considered inappropriate in a professional setting

This Code of Conduct is adapted from the Contributor Covenant, version 2.1, available at https://www.contributor-covenant.org/version/2/1/code_of_conduct.html.

Community Impact Guidelines were inspired by Mozilla's code of conduct enforcement ladder.

For answers to common questions about this code of conduct, see the FAQ at https://www.contributor-covenant.org/faq. Translations are available at https://www.contributor-covenant.org/translations.

Tests

Testing can be performed in the command line after installation of the project on the machine. To test the proeject go into the command line and type in

npm i

to install all the required modules. To run and test the program refer to the project demo as a walkthrough to get started. Type in

npm run watch

If modules are missing type in

npm i

and follow the instructions for how to fix package issues.

After all required modules are installed should be able to run the program. It will prompt you for project information. Here is where you can test the project.

Questions

For questions you can reach me at https://github.com/ByteSizeError.

You can also reach me at jimmyz0622@gmail.com for additional questions.

About

Fitness Tracker - This project is a workout tracker that can log multiple exercises in a workout. When tracking a workout you can choose from two categories resistance or cardio, for a resistance exercise you can track the name, type, weight, sets, reps, and duration. For a cardio exercise, you can track the distance.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published