The objective of this project is to design and implement a web-based ordering system that allows Snackwise costumers to view the menu and place orders online.
Scope: The system will have a user-friendly and responsive interface that allows customers to browse and select items from a menu, view their shopping cart. The system will also have a backend component that allows the business to manage orders and update the menu.
This system is only for pick-up orders, and doesn't have payment methods and gateway.
- Product catalog: Customers can browse and filter items into category.
- Shopping cart: Customers can add items to their cart and view a summary of theirorder before checkout.
- Notification: Upon checking out, costumers will get an update through the notification feed for the status of their order.
- Order management: The business can view andmanage orders, and update order statuses.
- Customer accounts: Customers can create and manage their own accounts, including viewing order history.
- Closed Dates: Add specific dates where the business is closed to prevent costumers on placing order at that dates.
- QR Code: Every order will generate an QR code which can be scanned by the admin to verify an order upon pick-up.
- Sales Report: Able to view and print sales, can be filtered by: this week, this month, this year.
- Instascan
- Flatpickr(Date and Time Picker)
- PHP QR code (Qrcode maker)
- MPDF
- Cloudinary
- PHPMailer
- JSTable
- Animate on Scroll
Since this project is built with PHP, we suggest to run the project with XAMPP.
- Clone the project inside
C:\xampp\htdocs
usinggitbash
.
git clone https://github.com/clarencetinator7/SnackwiseOrderingSystem
-
Start Apache and My SQL in XAMPP
-
Import the SQL File (
public_html/snackwise.sql
) through PHPMyAdmin (database name is:snackwise
). -
Modify the database connection settings in:
public_html/php/classes/DbConnection.php
public $dbHost = "localhost"; // Name of Host
public $dbUser = "root"; // MySQL Username
public $dbPassword = ""; // MySQL Password
public $dbName = "snackwise"; // Databse Name
If you already tried the project and you found that checking out gets stuck on loading. If error like this is thrown:
Uncaught Error: Call to undefined function ImageCreate()
You have to do this extra process.
- This issue is from the PHP QR Code Library and it means that your installation of PHP doesn't have the
gd-library
installed / enabled.
- Locate
php.ini
inc:\xampp\php\php.ini
. - Open the file in notepad or other text editor.
- Search for
;extension=gd
- Remove the ';' and it should look like this:
extension=gd
- Save and restart the server.
For more information please refer to this:
- https://stackoverflow.com/questions/7851011/how-do-i-install-gd-on-my-windows-server-version-of-php
- https://stackoverflow.com/questions/3106991/fatal-error-call-to-undefined-function-imagecreate
- @clarencetinator7 [Front End Developer]
- @darwannn [Back End Developer]
- @jaspercroxa [Project Lead]
- @noooorsegod [System Analyst]
- @AG-Padilla [System Analyst]