My Workout is a full-stack application that enables users to enter details about their workouts and the vairious exercises they performed during them. My Workout allows you to input two different kinds of exercises: Resistance and Cardio. The user can enter any name they would like for either of the exercise types. For each of the workout types the user inputs information related to the respective exercise type. When a user chooses to input a resistance exercise they are asked for the name, weight(in lbs), number of sets, number of reps, and the duration of the exercise. When a user selects a cardio exercise they are prompted for information relevant to cardio exercises like the name, distance(in miles), and the duration of their cardio. All of the data a user enters about their workouts and exercises are stored in a Mongo Atlas Database.
Information about the user's current workout is displayed on the main page of the application using aggrogate functions offered by MongoDB. After the user has entered multiple workouts worth of data, they can navigate to the Dashboard page. On the dashboard page the duration and resistance weight data is retrieved from the database and graphed into two graphs. This allows the user to see how their workout duration and intensity changes over time. A consumer will reach their fitness goals more quickly when they track their workout progress, which is the whole idea behind this application.
In order to use the application normally there is no installation neccessary. Simply navigate to where it's deployed on Heroku: https://my-workouts-tracked.herokuapp.com/
Start with cloning this repo on your local machine:
$ git clone https://github.com/lukecp5/myWorkout.git
$ cd myWorkout
To install and set up the application, run:
$ npm install
$ npm run seed
The simplest way to use this application for it's intended use is to use it in it's deployed state: myWorkout
To start MyWorkout locally for development purposes, run:
npm start
- MongoDB
- Node.js
-
- Mongoose - Database implementation
-
- Express - Web Framework for Node.JS
- Visual Studio Code
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Add your changes:
git add .
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request 😎
Luke Poirrier
LinkedIn: @luke-poirrier
Email: Luke@LukePoirrier.com
Portfolio: LukePoirrier.com
This application is licensed under the MIT License, you can find the full license information here