Welcome to the OOP Group Project! This project is a Maven-based web application designed to demonstrate object-oriented programming principles in a practical setting.
This project serves as a comprehensive example of applying object-oriented programming concepts in a web application. It includes functionalities such as user management, product listings, and order processing, all structured to showcase best practices in OOP design.
- Add new products
- Edit product information
- Deliver or reject orders
- View and delete reviews
- View and delete reports
- See user reviews
- Add to wishlist
- Add to cart
- Edit cart
- Checkout and place orders
- Accept or reject orders
- Review orders
- Send reports
- View sent reports and their status
- Edit personal information
To set up this project locally, follow these steps:
-
Clone the repository:
git clone https://github.com/Manusha-Nirmal-Perera/oop-group-project.git
-
Navigate to the project directory:
cd "path/to/your/location/oop-group-project"
-
Import the Project into Your IDE:
- Open your IDE (e.g., Eclipse, IntelliJ IDEA).
- Import the project as a Maven project.
-
Set Up the Database:
- Locate the
online_store.sql
file in the project root. - Use this file to create the necessary database schema in your preferred database management system.
- Locate the
-
Configure Database Connection:
-
Open the
src/main/resources/application.properties
file. -
Update the database connection properties to match your local setup.
-
Build and Run the Project:
- Use Maven to build the project:
mvn clean install
- Deploy the application on your local server.
- Use Maven to build the project:
- Access the web application through your browser at:
http://localhost:8080
- Register a new user.
- Registe a new Admin
- Explore the product listings, add items to your cart, add items to wishlist, and proceed to checkout. Also try editing personal info.
- From admin side ty adding a new product, edit product info, cancel or deliver orders
We welcome contributions to enhance this project. To contribute:
- Fork the repository.
- Create a new branch:
git checkout -b feature/your-feature-name
- Make your changes:
- Commit your changes::
git commit -m "Add feature: your feature name"
- Push to your branch:
git push origin feature/your-feature-name
- Create a Pull Request: