This E-Commerce Store is a dynamic web application. The application is developed using PHP for server-side scripting, MySQL for database management, Bootstrap for front-end design, and PDO (PHP Data Objects) for database connectivity.
- User Registration and Authentication.
- Browse and Search Food Items
- Add Food Items to Cart
- View Cart and Proceed to Checkout
- PayPal Payment Integration for Secure Transactions
- Admin Panel to Manage Food Items, Orders, and Users
- PHP 7 or higher
- MySQL database
- Web server (e.g., Apache, Nginx)
- Xampp
- PayPal Developer Account for Sandbox/Production API credentials
Please kindly mail me at lexizgichbuoy@gmail.com
Clone the repository to your web server's root directory:
git clone https://github.com/Gichbuoy/E-commerce-Store.git
-
Create a new MySQL database for the application and import the database.sql file to set up the required tables.
-
Update the database credentials in config.php
<?php
define('DB_HOST', 'your-database-host');
define('DB_NAME', 'your-database-name');
define('DB_USER', 'your-database-username');
define('DB_PASSWORD', 'your-database-password');
?>
Set up your PayPal API credentials with your own sandbox Business account app client ID in charge.php
<div class="container">
<script src="Your paypal API credentials "</script>
</div>
Start your web server and access the application in your web browser.
E-Commerce-Store/
| 404.php
| about.php
| contact.php
| faq.php
│ index.php
| LICENSE
| shop.php
│
├───admin-panel
│ admins
│ category-admins
│ layouts
│ orders-admins
│ product-admins
| styles
| index.php
│
├───auth
| login.php
| logout.php
| register.php
│
|───config
| config,php
|
├───includes
│ footer.php
│ header.php
│
|───products
| cart.php
| charge.php
| checkout.php
| delete-product.php
| detail-product.php
| success.php
| update-product.php
|
|───users
| setting.php
| transaction.php
Pull requests are welcome. For major changes or feature requests, please open an issue first to discuss what you would like to change.
This project is licensed under the MIT License - see the LICENSE file for details.
Thanks to the PHP, MySQL, Bootstrap, and PDO communities for their excellent tools and libraries. I would also like to thank my instructor Mohamed Hassan for the help and guide in building this project