FloraFavs is an online store that offers a variety of plant products. There are three types of users that can access this site, namely customers, administrators, and managers. Administrators and managers are considered as one type of user called internal users. To distinguish between administrators and managers, this site uses the concept of multi user in the internal user login process. The features contained in each actor are as follows:
- Customer
- Customers can register a new account.
- Customers can login using the account that has been created.
- Customers can update their profile.
- Customers can view a list of items sold in the online store with filters and search features.
- Customers can add items to the cart.
- Customers can update the items in the cart.
- Customers can delete items in the cart.
- Customers can make transactions.
- Customers can change the transaction payment method.
- Administrator
- Administrator can register a new account.
- Administrator can login using the account that has been created.
- Administrator can view customer data.
- Administrator can view goods and supplier data.
- Administrator can add goods and supplier data.
- Administrator can update goods and supplier data.
- Administrators can delete goods and supplier data.
- Manager
- Managers can register a new account.
- Managers can log in using the account that has been created.
- Managers can view graphs, recaps, and total unpaid transactions with a certain time range.
- Managers can view graphs, recaps, and total transactions that have been paid for a certain period of time.
-
Clone this repository to your computer (if you are using XAMPP, place the clone in the
htdocs
folder):git clone https://github.com/shafygunawan/florafavs.git
-
Create a new database with the name
store
, then import thedump.sql
file into the database. -
Next, you need to set up the configuration in this project. Open the
config/database.php
file and set the global variablesDB_NAME
,DB_USERNAME
, andDB_PASSWORD
according to the configuration you are using, as shown below:define('DB_NAME', 'store'); define('DB_USERNAME', 'root'); define('DB_PASSWORD', '');
-
To access this website, type the following address into a web browser:
http://localhost/florafavs
.
The following account information can be used to log in as a customer:
Name | Password | |
---|---|---|
Shafy Gunawan | [email protected] | Password@123 |
Naufal Alifiansyah | [email protected] | Password@123 |
The following account information can be used to log in as staff:
Name | Password | Role | |
---|---|---|---|
Andre Eka | [email protected] | Password@123 | Administrator |
Umar Muchtar | [email protected] | Password@123 | Manager |
The following are the tokens used for new staff registration:
Token | Role |
---|---|
2s93kl | Administrator |
943il2 | Manager |
If you find this project useful and would like to support me, you can Buy Me a Coffee.
This project is licensed under the MIT License. More details can be found in the LICENSE file.
Thank you for visiting this project!
Notes:
- You can only view without making changes to this repo website with the url https://shafygunawan.my.id/projects/florafavs.
- This project was built to fulfill a lecture assignment and was done in groups.