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!
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.
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,
- Force quit Chrome by going to the mac menu and pressing “force quit” (or pressing command Q).
- Then run this command to open Chrome with web security disabled 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