An open API service indexing awesome lists of open source software.

https://github.com/lauracole1900/mongofitnesstracker

MongoDB/Mongoose-based workout tracker
https://github.com/lauracole1900/mongofitnesstracker

exercise javascript js mongo mongodb mongoose node node-js nodejs workout-app

Last synced: 3 months ago
JSON representation

MongoDB/Mongoose-based workout tracker

Awesome Lists containing this project

README

          

# Fitness Tracker

## Table of Contents

* [Description](#description)
* [Links](#links)
* [Screenshots](#screenshots)
* [Installation Instructions](#installation-instructions)
* [Usage](#usage)
* [Technologies Used](#technologies-used)
* [Tests](#tests)
* [Credits](#credits)
* [Contributing](#contributing)
* [Questions](#questions)
* [Badges](#badges)

## Description

This is a workout tracker application using Mongoose. The user can create a new workout by clicking on the "New Workout" button, or add to the existing workout by clicking on the "Continue Workout" button. They may add resistance or cardio exercises. The user can also click on "Dashboard" in the upper left corner to visit the Dashboard, which shows charts and graphs showing the cumulative effect of their saved workouts. A click on "Fitness Tracker" in the upper left corner will take the user back to the landing page.

## Links

[Deployed application on Heroku](https://stormy-lowlands-24720.herokuapp.com/)

## Screenshots

Landing page:
![Landing page:](public/assets/fitness-tracker-landing-page.png)

New workout page:
![New workout page](public/assets/fitness-tracker-new-workout.png)

Workout page with "resistance" exercises selected:
![Workout page with "resistance" exercises selected](public/assets/fitness-tracker-resistance.png)

Workout page with "cardio" exercises selected:
![Workout page with "cardio" exercises selected](public/assets/fitness-tracker-cardio.png)

Workout stats page:
![Workout stats page](public/assets/fitness-tracker-stats-page.png)

## Installation Instructions

If you want to run a copy of this app on your local machine, first you will also need to download MongoDB. For help, visit the MongoDB website here:
```
https://docs.mongodb.com/manual/installation/
```

Once installed, make sure MongoDB is running by entering into the command line
```
$ mongod
```

Then, clone the repository:

HTTPS:
```
$ git clone https://github.com/LauraCole1900/mongoFitnessTracker.git
```

SSH:
```
$ git clone git@github.com:LauraCole1900/mongoFitnessTracker.git
```

Then cd/ into the cloned directory and download the dependencies by typing into the command line
```
$ npm install --save
```

Once MongoDB and the dependencies and MongoDB is running, start the application by typing into the command line
```
$ node server.js
```

Then go to the browser and enter into the address bar
```
$ localhost:3000
```

## Usage

This app is intended to be used to track workouts, exercises, and fitness information.

## Technologies Used

[![Node.js](https://img.shields.io/badge/built%20with-Node.js-3c873a)](https://nodejs.org/en/) [![MongoDB](https://img.shields.io/badge/built%20with-MongoDB-4db33d)](https://www.mongodb.com/) [![Mongoose](https://img.shields.io/badge/built%20with-Mongoose-880000)](https://mongoosejs.com/) [![Express.js](https://img.shields.io/badge/built%20with-Express.js-303030)](https://expressjs.com/)

## Tests

npm run test

## Credits

Base code and front-end functionality developed and provided by 2U/Trilogy Education Services

## Contributing

We believe code is never finished, welcome your contributions to enhance the applications functionality. Please adhere to the Code of Conduct for the Contributor Covenant, version 2.0, at https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.

## Questions

If you have further questions, you can reach me at lauracole1900@comcast.net. For more of my work, see [my GitHub](https://github.com/LauraCole1900).

## Badges

[![License badge](https://img.shields.io/badge/license-MIT-5793fd)](./LICENSE) [![Open in Visual Studio Code](https://open.vscode.dev/badges/open-in-vscode.svg)](https://open.vscode.dev/LauraCole1900/mongoFitnessTracker)