Coder Social home page Coder Social logo

dragontalker / mongodb-fitness-tracker Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 372 KB

:runner: A fitness tracker application that is built with MongoDB, Node.js, and Express.js.

Home Page: https://dragontalker-fitness-tracker.herokuapp.com/

License: MIT License

JavaScript 60.03% HTML 18.30% CSS 21.67%
mongodb mongoose express-js node-js restful-api chart-js bootstrap5 html5 css3 javascript vscode heroku heroku-deployment

mongodb-fitness-tracker's Introduction

Fitness Tracker

Javascript Badge MonogoDB Badge ExpressJS Badge Nodejs Badge Boostrap Badge

๐Ÿš€ Deployed on Heroku

https://dragontalker-fitness-tracker.herokuapp.com/


Table of Contents

Desription

This project builds a workout tracker with Express.js and MongoDB. User can start a workout plan and each plan can track multiple exercises. This application tracks two type of exercises: resistance and cardio. For resistance, the application tracks weight, reps, sets. For cardio exercises, it tracks ditances. After all, the duration of every exercises will be tracked as well. User can see the summary for their current workout plan at the main mage. If user wants more detailed data, he/she can view dashboard for detailed graphs and distributions of exercises performed over the last 7 workout plans.

Back to the Top

๐Ÿ”ง Technologies Used

  • MongoDB
  • Mongoose
  • Express.js
  • Node.js
  • RESTful Api
  • Chart.js
  • Bootstrap 5
  • HTML 5
  • CSS 3
  • JavaScript
  • VS Code
  • Heroku

Back to the Top

How to Use

๐Ÿ”ฎ This application helps user track different exercises under the same workout plan. Exercises are categoried into two major groups: cardio and resistance. There are four main features: adding cardio, adding resistance, viewing summary of current workoutplan, exploring data dashboard for past 7 workout plans.

๐ŸŠ Feature: Adding a New Cardio Exercise

To add a new cardio exercise, user need to enter the name of the exercise, distance in miles and its duration.

cardio screenshot

Back to the Top

๐Ÿ’ช Feature: Adding a New Resistance Exercise

To add a new resistance exercise, user need to enter the name of the exercise, weights, setss, reps, and its duration.

cardio screenshot

Back to the Top

๐Ÿ’ฆ Feature: Summary of Current Workout Plan

The summary is automatically generated upon launching or returning to homepage (by clicking on Fitness Tracker on the top left corner).

cardio screenshot

Back to the Top

๐Ÿ“Š Feature: Dashboard of Last 7 Workout Plans

By clicking on Dashboard on the top left corner, user will be taken to a dashboard for different statistics for last 7 workout plans.

cardio screenshot

Back to the Top

How to Install

๐Ÿ’ฟ To use this application locally, you need MongoDB community server installed. Type this command in command-line to check:

mongo --version

Once you have MongoDB installed, install the require packages, you will need mongoose to use the seed function, use the following command:

npm install

The last step would be seeding, use this command:

npm run seed

Back to the Top

๐Ÿ’ป To initialize the server, type this command in console, then use the application through brower.

npm start

Back to the Top

License

๐ŸŽ“ MIT License

Copyright (c) [2021] [Richard Yang]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Back to the Top

Author Info

๐Ÿ‘พ Tong (Richard) Yang is a full stack software engineer from Canada, living Toronto Area. If you have any questions, email him at [email protected] or visit his GitHub.

Back to the Top

mongodb-fitness-tracker's People

Contributors

dragontalker avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.