https://github.com/gichbuoy/e-commerce-store
Food Ordering Ecommerce Store with PayPal Payment and Admin Panel in PHP, MySQL, Bootstrap and PDO
https://github.com/gichbuoy/e-commerce-store
bootstrap css javascript mysql pdo-php php8 scss
Last synced: about 1 year ago
JSON representation
Food Ordering Ecommerce Store with PayPal Payment and Admin Panel in PHP, MySQL, Bootstrap and PDO
- Host: GitHub
- URL: https://github.com/gichbuoy/e-commerce-store
- Owner: Gichbuoy
- License: mit
- Created: 2023-08-01T20:17:09.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-11-03T20:22:43.000Z (over 2 years ago)
- Last Synced: 2025-03-31T15:10:34.845Z (about 1 year ago)
- Topics: bootstrap, css, javascript, mysql, pdo-php, php8, scss
- Language: PHP
- Homepage: https://groceries.teguhrianto.my.id/
- Size: 15 MB
- Stars: 5
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Food Ordering Ecommerce Store with PayPal Payment and Admin Panel
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.
[](https://app.netlify.com/sites/groceries-store-bs4/deploys)
## Demo
[See DEMO](https://groceries.teguhrianto.my.id)
## Features
* 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
## Requirements
* PHP 7 or higher
* MySQL database
* Web server (e.g., Apache, Nginx)
* Xampp
* PayPal Developer Account for Sandbox/Production API credentials
## Ideas and Suggestions
Please kindly mail me at [lexizgichbuoy@gmail.com](mailto:lexizgichbuoy@gmail.com])
## Installation
Clone the repository to your web server's root directory:
```
git clone https://github.com/Gichbuoy/E-commerce-Store.git
```
1. Create a new MySQL database for the application and import the database.sql file to set up the required tables.
2. Update the database credentials in [config.php](https://github.com/Gichbuoy/E-Commerce-Store/blob/main/config/config.php)
```
```
Set up your PayPal API credentials with your own sandbox Business account app client ID in [charge.php](https://github.com/Gichbuoy/E-Commerce-Store/blob/main/products/charge.php)
```
</div>
```
Start your web server and access the application in your web browser.
## Directory Structure
```
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
```
## Contributing
Pull requests are welcome. For major changes or feature requests, please open an issue first to discuss what you would like to change.
## License
This project is licensed under the MIT License - see the [LICENSE](https://github.com/Gichbuoy/E-Commerce-Store/blob/main/LICENSE) file for details.
## Acknowledgments
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