The "Online Store" project is a Java-based web application that allows for efficient management of products and users within a virtual store. Leveraging MySQL as the database and Hibernate as the ORM framework, this project offers a comprehensive and organized approach to online commerce.
The project encompasses the following entities:
- First name
- Last name
- Password (encrypted using BCrypt)
- Username
- Role (admin or user)
- Product name
- Description
- Price
Users with the "admin" role are granted access to the following features:
- Dedicated page at /admin
- View, edit, and delete products at /admin/items
- View user information and delete users at /admin/users
Standard users can make use of the following functionalities:
- Adding products to the shopping cart
- Purchasing items from the cart
- Removing products from the cart
- Modifying personal information
- Logging out from the account
- Advanced Validation
- To ensure data integrity, the application employs advanced dual-layer validation for both user and product data.
- Java
- Spring Framework
- Maven
- MySQL
- Hibernate (ORM)
- Clone the repository: git clone https://github.com/denomelchenko/store.git.
- Install the required dependencies.
- Launch the application.
- Open a web browser and navigate to http://localhost:8080.