Pulse Fit - One stop destination for all your fitness needs
CoC Inheritance 2022 || Frontend Warriors
CoC Inheritance 2022 || Frontend Warriors
Table of Contents
The Pulse-Fit is a one stop destination for all ypur fitness related needs
The React based web app has one access level
|
Add any more links/resources you used for your project
Mention all languages/libraries/frameworks used in your project domain-wise
You can use icons too - find them here
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
- 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
- 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
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
- material-ui has a peer dependency conflict with React
Solution:
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
npm install -f @material-ui/core
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
- 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
- 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
- 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
- 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
- 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
- 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
- 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