Skip to content

This is a Fitness Webpage customised to help our user, YiKiat Lim. Yi Kiat Lim had set a goal to lose 10 pounds in the upcoming 3 months, however, he finds difficulty tracking calories for meals and often gives in to temptation. Hence, this application aims to problem-solve Yi Kiat Lim lack of disciplinary issue through tracking calories for him…

Notifications You must be signed in to change notification settings

Eykf1997/Health-You

Repository files navigation

HealthYou

This is a Fitness Webpage customised to help our user, YiKiat Lim. Yi Kiat Lim had set a goal to lose 10 pounds in the upcoming 3 months, however, he finds difficulty tracking calories for meals and often gives in to temptation. Hence, this application aims to problem-solve Yi Kiat Lim lack of disciplinary issue through tracking calories for him and enable him to stay on track to his desired goal weight!

How to set up your application based on the submitted file

Open http://localhost/phpmyadmin/index.php and create a database name call "newnew" then import the database.sql which can be found in wad-2-project/login folder. For mac users, change the password from "" to "root" in 2 of the ConnectionManager.php files where it is located in wad-2-project/login/model folder and wad-2-project/server/model folder.

How to run your application

For windows users, the application can be used with the inbuilt Run app on your desktop. Key
chrome.exe --user-data-dir="C://Chrome dev session" --disable-web-security as the input in the inbuilt app

For mac users,

  1. Force quit Chrome by going to the mac menu and pressing “force quit” (or pressing command Q).
  2. Then run this command to open Chrome with web security disabled
  3. open -n -a /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome — args — user-data-dir=”/tmp/chrome_dev_test” — disable-web-security

OR download google chrome extension "Allow CORS: Access-Control-Allow-Origin"

Open http://localhost/wad-2-project/index.php. This will redirect you to http://localhost/wad-2-project/login/loginpage.php. Use the following username and password to sign in:

username: elvis
password: 123456

Features

  • In http://localhost/wad-2-project/foodCalorieTrackerPage.html, users can track the calorie count of the food they eat or obtain the recipes and location of the food they wish to eat
  • In http://localhost/wad-2-project/Profile.html, users can upload what they eat and their calories intake will be recorded. Users will see analysis of their nutritional value using pie charts and graphs of their monthly nutritional value intake
  • In http://localhost/wad-2-project/Profile.html, users select the mode of their desired exercise and then one of the markers on the map. The calories burnt from this exercise will be recorded.
  • About

    This is a Fitness Webpage customised to help our user, YiKiat Lim. Yi Kiat Lim had set a goal to lose 10 pounds in the upcoming 3 months, however, he finds difficulty tracking calories for meals and often gives in to temptation. Hence, this application aims to problem-solve Yi Kiat Lim lack of disciplinary issue through tracking calories for him…

    Resources

    Stars

    Watchers

    Forks

    Releases

    No releases published

    Packages

    No packages published