LaptopUtopia is a fully functional e-commerce platform for purchasing and assembling computer components. The project features a dynamic front-end built with Angular and a robust back-end developed using PHP, API endpoints, and MySQL for data storage and management.
- Interactive user interface for browsing and purchasing computer components.
- Dynamic cart and wishlist management.
- User authentication and authorization system.
- Dashboard for admin and user activities.
- Real-time search and filters for products.
- RESTful API endpoints for front-end communication.
- CRUD operations for product management, user accounts, and orders.
- Secure authentication and session management.
- MySQL database for data persistence.
- Cart: Handles cart operations, including add, update, and remove functionality.
- Complaints: Manages user complaints and feedback submissions.
- Order: Handles order processing and status tracking.
- Product: Manages product catalog operations.
- Reviews: Handles user reviews and ratings for products.
- User: User account management, including authentication and profile updates.
- Wishlist: Manages wishlist operations.
- dashboard: Admin functionalities for managing users and products.
- filters: Product filtering and sorting logic.
- search: Search functionalities for quick product lookups.
- signlogs: User authentication and logging activities.
https://github.com/MoAdelEzz/Laptopia
-
Set up a local server environment (e.g., XAMPP or WAMP).
-
Clone the repository into the server's root directory:
git clone https://github.com/AhmedZahran02/LaptopUtopia.git
-
Import the MySQL database:
- Create a database named
laptop_utopia
. - Import the provided SQL dump file from the
database
folder.
- Create a database named
-
Update API configuration in
config.php
to match your database credentials:define('DB_HOST', 'localhost'); define('DB_USER', 'your_username'); define('DB_PASS', 'your_password'); define('DB_NAME', 'laptop_utopia');
-
Start the PHP server and ensure API endpoints are accessible.
- Browse Products: Explore a variety of computer components.
- Add to Cart/Wishlist: Manage your selections.
- Place Orders: Complete the checkout process seamlessly.
- User Dashboard: Manage profile and order history.
- Admin Dashboard: Oversee product and user management.
Feel free to fork this repository, create feature branches, and submit pull requests for improvements.
This project is open-source and available under the MIT License.