This project is a Supermarket Management System, developed as my final year graduation project in fulfillment of the requirements for my Bachelor's degree in Computer Science at the University of Juba. The system is designed to automate the operations of a supermarket, including product management, order placement, and payment processing. It features different user roles, such as Admin, Cashier, and Customer, each with its own specific functionality.
- Admin:
- Manage users (Add, Update, Delete staff/customers)
- Manage products (Add, Update, Delete products)
- Process orders and payments
- View order history and generate receipts
- Cashier(Stuff):
- Process customer orders
- Manage products
- Handle payments and generate receipts
- Customer:
- Create an account
- Browse available products
- Place orders and make payments
- XAMPP (includes Apache, PHP, and MySQL)
-
Clone the repository:
git clone https://github.com/yourusername/supermarket-management-system.git
-
Move the project to XAMPP htdocs directory:
mv supermarket-management-system /path-to-xampp/htdocs/
-
Set up the database:
- Open phpMyAdmin by navigating to
http://localhost/phpmyadmin
. - Create a new database (e.g.,
supermarket_db
). - Import the SQL file located in the
/database
directory of your project into this database.
- Open phpMyAdmin by navigating to
-
Configure environment variables:
- Update the database connection details in your configuration file to match your local XAMPP MySQL credentials (usually
root
with no password).
- Update the database connection details in your configuration file to match your local XAMPP MySQL credentials (usually
-
Start the XAMPP server:
- Open the XAMPP control panel and start Apache and MySQL.
-
Access the project:
- Open your browser and navigate to
http://localhost/supermarket-management-system
.
- Open your browser and navigate to
- Admin Panel: Access the admin panel at
/admin
for managing users, products, orders, and payments. - Cashier(Stuff): The cashier can log in to process customer payments and manage product data.
- Customer: Customers can register, log in, browse products, and place orders.
- Frontend: HTML, CSS, JavaScript (with Bootstrap)
- Backend: PHP
- Database: MySQL
- Web Server: Apache (via XAMPP)
This project is open for contributions. If you have any suggestions or would like to improve the system, feel free to open an issue or submit a pull request.
For any inquiries or further information regarding this project, feel free to contact me:
- Name: Ochudho Cham Odiel
- Email: [email protected]
- Phone: +211928500595