tanayaa1 / Inheritance

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Inheritance


Project Name: Pulse Fit

Pulse Fit - One stop destination for all your fitness needs
CoC Inheritance 2022 || Frontend Warriors


Table of Contents

📝Description

The Pulse-Fit is a one stop destination for all ypur fitness related needs

Access Level

The React based web app has one access level

Key Features

  • BMI Calculator:The users can calculate their BMI and will get workouts and diet plans suggested according to their health requirement
  • Heart Disease Predictor: Predicts if your heart is healty or at risk of heart diseases
  • Find naerby Gyms: uses google maps API to suggest nearby gyms
  • Book Appointments:Allows users to book doctor's appointments
  • Community:Allows users to share their experiences and build a community
  • E-com:Buy all FItness related products

Business Potential

  • The companies can sell their fitness realted products on the website
  • Website can earn add revenue from putting up advertisements

🔗Links

Add any more links/resources you used for your project

🤖Tech-Stack

Mention all languages/libraries/frameworks used in your project domain-wise
You can use icons too - find them here

  • Server: MongoDB, Redux JWT Express.js NodeJS Flask
  • Client: Bootstrap React

📈Progress

fully implemented features :

  • BMI calculator : will calculate the bmi of a person and will suggest videos and diet tips.
  • Heart Disease Predictor : taking some information about habits of the user our predictor can predit if the user's heart is healthy or at risk of heart disease in future
  • Book Doctor's appointment : user can pre-book Doctor's appointment.
  • Ecommerce : user can buy all fitness realted products here
  • Community : All users of the website can communicate with each other.
  • Map : To find nearby gyms
  • Login & sign-up : secure login and sigh-up using jwt tokens
  • Contact us: The user can contact us using this feature.It sends automated E-mails

🔮Future Scope

  • Additional access level: An additional acces level for the admin who can manage the website
  • Improving the accuracy of Heart Disease Predictor : Currently the accuracy of the model is 85%. Training the model to increase the accuracy
  • Payment checkout for E-commerce part of the website

💸Applications

  • Pulse Fit is capable to host products of many health-realted buisnesses in the E-com part of our website
  • It can earn add revenue from putting up advertisements
  • Our website contains various features and we aim at meeting all the fitness related needs

🛠Project Setup

For the Web-App 1.Clone the GitHub repo

git clone https://github.com/Bruhbytes/Frontend-Warriors.git

2.Enter the client directory. Install all the required dependencies.

  cd frontend
  npm install
  npm start

3.To start the backend server:

  cd backend
  npm install
  npm run dev

🚧Major Roadblocks

  1. material-ui has a peer dependency conflict with React
    npm ERR! code ERESOLVE
    npm ERR! ERESOLVE unable to resolve dependency tree
    npm ERR! 
    npm ERR! While resolving: portfolio@0.1.0
    npm ERR! Found: react@17.0.1
    npm ERR! node_modules/react
    npm ERR!   react@"^17.0.1" from the root project
    npm ERR! 
    npm ERR! Could not resolve dependency:
    npm ERR! peer react@"^16.8.0" from @material-ui/core@4.11.0
    npm ERR! node_modules/@material-ui/core
    npm ERR!   @material-ui/core@"*" from the root project
    npm ERR! 
    npm ERR! Fix the upstream dependency conflict, or retry
    npm ERR! this command with --force, or --legacy-peer-deps
    npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
    npm ERR! 
    npm ERR! See /Users/jordanhilado/.npm/eresolve-report.txt for a full report.
    
    npm ERR! A complete log of this run can be found in:
    npm ERR!     /Users/jordanhilado/.npm/_logs/2020-10-31T17_57_54_724Z-debug.log
    
    Solution:
    npm install -f @material-ui/core
    

💻Usage

Steps to run your project once its setup.

  • login/Sign-up: Login to the website using your credentials.If you are a new user u can sign-up using your e-mail id and set up a secure password (for ex. rohan@gmail.com ,password:Rohan@12345)

  • All the features are listed on the navbar can be used

    BMI

    • click the BMI tab on navbar you will be directed to a page where at the bottom you will find a button "Calculate BMI" click to find your BMI
    • Fill the form and click submit
    • Your BMI along with suggested diet plans and videos will be displayed

    heart

    • click the heart tab on navbar you will be directed to a form
    • Fill the form and click submit
    • Your heart health will be displayed

    findNearbyGyms

    • click the findNearbyGym tab on navbar you will be directed to a page
    • click on the compass at the top
    • Gyms nearby you will be visible on the map

    Community

    • click the community tab on navbar you will be directed to the community page
    • you will see messages from other users of our website
    • To post on the community page you will see a box at the bottom type your message there and click submit

    Appointment

    • click the Appointment tab on navbar you will be directed to a form
    • fill in the details
    • choose your slot
    • you cannot book a slot for the next 24hrs if it is already booked by someone
    • slots get vacant everyday
    • Thus, one can book a slot for the coming day only

    Shop

    • click the Shop on navbar you will be directed to our shop
    • the prodiucts are divided into three categories :clothes,equipments and suppliments
    • click on shop now on there you will be directed to pages thus products are filtered
    • below these categories you will see popular products
    • click on the middle icon of any product you wish to view ,which is visible on hovering over the product
    • you can now see the product choose quantity of the product you wish to buy
    • click on add to cart button
    • On the top right corner you will see a cart icon click on it to view your cart
    • Fill in your address and phone no. oh the right hand side of the page and click submit
    • Your order is placed

    Contact Us

    • click the contactus tab on navbar you will be directed to a form
    • fill in the details
    • we will recieve your feedback/message
    • you will recieve a confirmation email

👨‍💻Team Members

👨‍🏫Mentors

📱Screenshots

  • Home page preview: home1 (1)

  • login/sign-uplogin

  • Heart disease predictor

predictor

  • BMI calculator bmi form

  • shop shop home and filters shop-cart

  • Appointment:book Appointment

  • find nearby gyms: Map

  • community:

community page

  • contact uscontact us

About

License:GNU General Public License v3.0


Languages

Language:JavaScript 34.7%Language:CSS 27.5%Language:SCSS 17.8%Language:Less 17.6%Language:HTML 1.5%Language:Python 0.9%