Skip to content

A web application that allows a user to continue, create and track daily workouts using a MongoDB database utilizing the mongoose module.

Notifications You must be signed in to change notification settings

Gaitherdb/Fitness-Tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fitness-Tracker

License: MIT

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

To install Node.js, follow the documentation Node.js

To install MongoDB, follow the documentation MongoDB

To install necessary dependencies, run the following command:

npm i

Usage

Access the webpage by going to the deployed site: Fitness-Tracker.

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. fitnesslast fitnessdashboard fitnesscreate

License

This project is licensed under the terms of the MIT License.

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.

About

A web application that allows a user to continue, create and track daily workouts using a MongoDB database utilizing the mongoose module.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published