This project is a comprehensive e-commerce website built with PHP for selling Apple products. It includes an admin panel for managing products and a user interface for browsing, searching, and purchasing items.
- Browse Products: Users can view a list of all available Apple products.
- Search and Filter: Users can search for products by name and filter by categories or price.
- Product Details: Each product has a dedicated page showing detailed information and images.
- Add to Cart: Users can add products to their cart for future purchase.
- Cart Management: Users can update or remove items from their cart.
- Checkout: Secure and easy checkout process using the Ruzary payment gateway.
- User Authentication: Users can register, log in, and manage their accounts.
- Dashboard: Overview of site statistics, such as sales and users.
- Product Management: Admins can add, update, and delete products.
- Order Management: View and manage customer orders.
- User Management: View and manage registered users.
- Reports: Generate sales and inventory reports.
- Frontend: HTML, CSS, JavaScript
- Backend: PHP, MySQL
- Payment Gateway: Ruzary
-
Clone the Repository
git clone https://github.com/yourusername/apple-ecommerce.git
-
Navigate to the Project Directory
cd apple-ecommerce
-
Configure Database
- Create a MySQL database.
- Import the SQL file located in the
database
directory. - Update the database configuration in
config.php
.
-
Configure Payment Gateway
- Update the Ruzary payment gateway credentials in
config.php
.
- Update the Ruzary payment gateway credentials in
-
Start the Server
- Use a local server environment like XAMPP or WAMP.
- Place the project in the
htdocs
directory (for XAMPP). - Start Apache and MySQL from the XAMPP control panel.
-
Access the Website
- Open a web browser and go to
http://localhost/apple-ecommerce
.
- Open a web browser and go to
- URL:
http://localhost/apple-ecommerce/admin
- Default Credentials:
- Username: admin
- Password: admin123
- Register a new account or log in with existing credentials.
Contributions are welcome! Please open an issue or submit a pull request for any bugs, improvements, or features you would like to add.
This project is licensed under the MIT License. See the LICENSE file for more details.
For questions or support, please contact [your email].
-
Screenshots: Consider adding screenshots or GIFs of your website in action to make the README more visual.
-
Links: Update the placeholders (like
https://github.com/yourusername/apple-ecommerce.git
) with the actual links to your GitHub repository and other relevant resources. -
Details: Customize the sections according to the specific features and technologies of your project.
-
README.md File: Ensure this content is saved as a
README.md
file in the root directory of your GitHub repository.
This template will provide a clear and comprehensive overview of your e-commerce project, making it easier for others to understand and use it. Let me know if there's anything else you'd like to add or modify!