https://github.com/gaitherdb/fitness-tracker
A web application that allows a user to continue, create and track daily workouts using a MongoDB database utilizing the mongoose module.
https://github.com/gaitherdb/fitness-tracker
heroku-deployment mongodb mongoose-js
Last synced: 3 months ago
JSON representation
A web application that allows a user to continue, create and track daily workouts using a MongoDB database utilizing the mongoose module.
- Host: GitHub
- URL: https://github.com/gaitherdb/fitness-tracker
- Owner: Gaitherdb
- Created: 2021-10-05T21:54:53.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-10-09T03:06:43.000Z (over 3 years ago)
- Last Synced: 2025-01-10T18:35:22.004Z (5 months ago)
- Topics: heroku-deployment, mongodb, mongoose-js
- Language: JavaScript
- Homepage:
- Size: 2.25 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Fitness-Tracker
## ## Description
A web application that allows a user to continue, create and track daily workouts. In order for users to reach their fitness goals quicker, a user can track and log multiple exercises a day by selecting a type of workout, while listing the details of the workout like name, distance, weight, sets, reps, or duration. View the logged exercises in a neat graph and track daily progress easily.The application is hosted on a server and stores data on a MongoDB database. Makes use of a few node modules to make the development easier, including: Express, Mongoose, and Morgan. This app makes use of:
* Node.js and Express.js to create RESTful APIs
* MongoDB (noSQL) and Mongoose OMT for the database
* MongoDB aggregate function to dynamtically find the sum of select fields and add feilds
* GET, POST, and PUT routes to communiciate with the database## Table of Contents
* [Installation](#installation)
* [Usage](#usage)
* [License](#license)
* [Contributing](#contributing)
* [Questions](#questions)
## Installation
To install Node.js, follow the documentation [Node.js](https://coding-boot-camp.github.io/full-stack/nodejs/how-to-install-nodejs)To install MongoDB, follow the documentation [MongoDB](https://docs.mongodb.com/manual/installation/)
To install necessary dependencies, run the following command:
```
npm i
```
## Usage
Access the webpage by going to the deployed site: [Fitness-Tracker](https://intense-river-35630.herokuapp.com/?id=615fad95b766510016e33241).If you want to run this on a local server, set the path to the Fitness-Tracker folder in the terminal. Run `npm seed` to source the seeds folder, if you want preset data. Then run the server.js file by typing `npm start`. Go to http://localhost:3000 to acesss the site.


## License
This project is licensed under the terms of the [MIT License](https://opensource.org/licenses/MIT).## Contributing
I am the sole author of this repo and I am not currently looking for contributors.## Questions
If you have any questions about the repo, open an issue or contact me directly at [email protected]. You can find more of my work at [Gaitherdb](https://github.com/Gaitherdb).