A workout tracker using a Mongo database with a Mongoose schema + routes with Express
Repo Link
NOTE: The deployed app can be found on Heroku. Please see the Getting Started section for more information regarding installation, usage, contribution guidelines, and where to go for questions.
- About The Project
- Project Links
- Demo
- Getting Started
- Installation
- Usage
- Contribution Guidelines
- Questions
- Project Status
- License
It has been empirically proven people reach their fitness goals more quickly when they track their workout progress. With this app, the user can:
-
View, create and track daily workouts.
-
Multiple exercises in a workout on a given day may be created.
-
The user can track the name, type weight, sets, reps and duration of an exercise.
-
If the exercise is cardio, the user can track their distance traveled.
Upon launching the app, the Workout Tracker gives the user the option to create a new workout or continue with their last workout. The user is able to:
-
Add exercises to the most recent workout plan.
-
Add new exercises to a new workout plan.
-
View the combined weight of multiple exercises from the past seven workouts on the stats page.
-
View the total duration of each workout from the past seven workouts on the stats page.
Because this application cannot be deployed on GitHub, a walkthrough video demonstrates its functionality below. The deployed app can be found on Heroku.
The following is an overview of the application in operation and rendering of the Workout Tracker app.
- MongoDB
- MongoDB Atlas for deploying to Heroku
- Mongoose
- Node
- Express
- Morgan
- Clone the repo:
git clone https://github.com/onomatopoetica/workout-tracker.git
-
All NPM packages required for this application (Express, Mongoose, and Morgan) are already listed as dependencies in the
package.json
file. Run the command 'npm i' command in your terminal at the root directory level to install the packages. -
The application will be invoked by using
nodemon
or enteringnode server.js
in the command line. -
You will see
App running on port 3000!
in the console. You can then view the app on http://localhost:3000/.
- See About The Project or Demo video above for more information on how it works.
- View Project Links above for the link to the deployed app on Heroku.
- When contributing to this repository, please contact the project team for review of your contribution plan. See contact details below.