To set up the Fitness Freak project, please follow these steps:
-
Place Project Folder:
Move the entire project folder into thewwwdirectory of your WAMP server installation.
For example, it should be located atC:\wamp64\www\Fitness-Freak. -
Start Containers:
Run Docker Desktop. Open a terminal and navigate to the directory containing thecompose.yamlfile.
Execute the commanddocker compose up --buildto start the necessary containers.Note: It's not required to manually run the SQL scripts, as the MySQL databases are containerized.
-
Access Application:
After the containers are up and running, open thelogin.htmlpage, located under thetest_uifolder, on the WAMP server to start using the application.
The path to this file isFITNESS-FREAK/test_ui/login.html.
You can use the following accounts to log in and test the application:
-
First Account:
- Email:
anshaziq@gmail.com - Password:
fitness333
- Email:
-
Second Account:
- Email:
tazngmt@gmail.com - Password:
fitness123
- Email:
-
Workout Plans:
Navigate to the user profile and adjust the height and weight settings. Observe how the suggested workout plans change based on these inputs. -
Challenge Verification:
Use the images located in theTest_Imagesfolder (FITNESS-FREAK/Test_Images) for challenge verification. After successful verification, the updated loyalty points will be visible in the user profile. -
Product Purchases and Notifications:
Users can input a number of loyalty points up to a maximum of 15% of the total undiscounted price when purchasing products. Experiment with purchasing different quantities and types of products. Notice how the email you receive changes. AMQP-based notifications will be sent to the email provided on the Stripe API payment page.