This group project (Group 25) was part of an university module.
Laravel was used as the main framework.
Within this project, I worked on both frontend and backend development.
Frontend
- Log in
- Log out
- Sign in
- Profile
- View Recent Orders
- Shop
- Product Category
Backend
- Seach functionality
- All Javascript
- Log in and log out authentication
- Pagination
- Recent Orders
- Shipping fee calculation
- Database mofifications (SQL)
This repository will include source code consisting of the following languages HTML, CSS, Java, JavaScript, Laravel Framework (PHP) and SQL. All code will be commited to the branches, there are 6 branches in total, all commit history will be viewable on the repository for all repositories including names and description of commits.
-
Kirill Ushakov (UshakovKirill)
-
Faraz Ahmed (fahm781)
-
Awais Riaz (AR127)
-
Nazrin Chowdhury (NazrinChowdhury)
-
Azraa Faizar (azraafaizar)
-
Danial Jivraj Amirali (danialjivraj)
-
Rayyan Khan (rayyan2000)
-
Jamie Yap (Cyberrrrrrr)
- Composer: https://getcomposer.org
- XAMPP: https://www.apachefriends.org/download.html
Below is a step by step instruction guide, to assist you on how to download the source code, install and run the dependencies and load the website.
- follow the default steps
- install globally and follow the default steps
https://github.com/fahm781/Group-25.git
- Run the following command:
composer update
- Note: it will take some time!
- Click the admin button to navigate to phpMyAdmin
- Create a new database called “goldenriver”.
Now open the .env file and make sure lines 11-16 looks exactly like the following code
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3307
DB_DATABASE=goldenriver
DB_USERNAME=root
DB_PASSWORD=
- Making sure the DB_DATABASE is set to goldenriver:
- Then to run the website use the following command:
php artisan serve
- This command should display the website in your web browser. If a page saying something along the lines of “generate app key” comes up just select that option.
This next section will be on how to set up Java
- Xampp
- Java Version 9+ (preferably 16)
- Repeat the same steps as Laravel from step 1 – 3.
- You could use another Ide but Eclipse is recommended.
- In Eclipse go to
File > import > Git > Projects From Git > Existing Local Repository
. - Here choose the location where you cloned the project and select
finish
.
- You will then see the project in your workspace
- Right-Click on the project and then select
properties
. - A new window will open, select
Java Build Path
.
- Click on
Classpath
, - select
ADD External JARS
on the right hand pane, a new window will show asking the path to the JARS. - Navigate to
\Group-25\Admin_app\External_Jars
and select all the JARS.
- If you have not already imported the sql file to your local host (XAMPP) please do so. The file is located in
\Group-25\SQL File
. - Finally go back to eclipse and in the
/Admin_app/src/Connection/DataBaseConn.java
make sure you set the name correctly for your database:
- You should now be able to run the Main Class.
- That is all the steps required you should now have the Admin_app ready to run.