This is an E-commerce website project developed using HTML, CSS, JavaScript, and PHP. The website allows users to browse products, add them to the cart, and place orders. It also provides features for managing user accounts and viewing order history.
- User registration and login functionality
- Product listing and detailed product view
- Shopping cart functionality with add/remove items
- Order placement and order history
- User account management
- Responsive design for different screen sizes
- HTML5 and CSS3 for the website structure and styling
- JavaScript (jQuery) for interactive elements and AJAX requests
- PHP for server-side processing and handling database operations
- MongoDB for storing user accounts and orders
To run the project locally, follow these steps:
-
Clone the repository:
-
Set up a local web server (e.g., XAMPP, WAMP, or MAMP) and configure it to serve the project directory.
-
Import the database schema and sample data into your database management system.
-
Update the necessary configuration settings (e.g., database connection details) in the PHP files present in the
/website/php/server/
directory. -
Open the website in your web browser by accessing the appropriate URL (e.g.,
http://localhost/e-commerce-website
).
The project follows a specific folder structure for better organization:
/website
- Contains the website files accessible by users./css
- Contains CSS files for styling./js
- Contains JavaScript files./php
- Contains server-side PHP scripts./server
- Contains PHP scripts for server-side processing and handling requests./images
- Contains image assets used in the website.
Contributions are welcome! If you find any issues or have suggestions for improvement, please create a new issue or submit a pull request.