A custom-built, full-stack PHP e-commerce platform designed for a modern mobile phone vendor. This application handles everything from secure user authentication via Google OAuth to dynamic product inventory and shopping cart management.
- 🔐 Secure Authentication: Users can register standard accounts or utilize Google OAuth for seamless, one-click logins.
- 🛒 Dynamic Shopping Cart: Full session-based cart management allowing users to add, update, and checkout mobile devices.
- ⚙️ Admin Dashboard: A protected backend control panel for administrators to manage inventory, upload product images dynamically, and track customer orders.
- 📦 Order Tracking: Registered users have access to a personalized dashboard to view their complete purchase history.
- 🛡️ Clean Architecture: Strict separation of concerns between frontend UI assets and secure backend logic, with sensitive configurations properly shielded.
To run this project locally on your machine, follow these steps:
1. Clone the repository into your htdocs folder:
git clone [https://github.com/kol-cmd/JILOMAAC.git](https://github.com/kol-cmd/JILOMAAC.git)- Database Setup:
Open phpMyAdmin (usually http://localhost/phpmyadmin).
Create a new database named jiloomac_db.
Click the Import tab and select the jiloomac_db.sql file from the project root.
- Environment Configuration:
Rename config.example.php to db.php (this is your ignored file that holds real passwords).
Open db.php and update it with your local MySQL credentials (usually user: root and no password).
Update your Google Client ID and Secret in your config file if you are testing the login feature.
-
Install Dependencies: If you have Composer installed on your Windows machine, run: composer install
-
Launch:
Ensure Apache and MySQL are running in the XAMPP Control Panel.
Open your browser and go to http://localhost/Jiloomac.