The Prodavalnik is a robust e-commerce platform built with Spring Boot, delivering a comprehensive suite of features to facilitate product management, order processing, user administration, and review handling. It integrates email services and scheduled tasks, ensuring seamless operations and an enhanced shopping experience for users. Designed with both customers and administrators in mind, Prodavalnik offers efficient tools and functionalities for effective e-commerce management, ensuring a smooth and enjoyable online shopping journey.
- Java 11 or higher
- Maven 3.6.3 or higher
- MySQL or PostgreSQL database
- To get as close as possible to my point of view (point of elaboration) - resolution - 2880 ร 1864, PC - macBook
- Ensure you have Java and Gradle installed.
- Clone the repository and navigate to the project directory.
- Necessary environment variables: MAIL_USERNAME, MAIL_PASSWORD
- Access the application via http://localhost:8080.
- Access the REST API application via here server port: http://localhost:8081
- Ensure to configure the database settings in
application.yaml
for proper persistence.
- User Management: Register, update, and delete users with secure password encoding and role-based access control.
- Order Processing: Create orders, view orders by date or user, and manage order statuses.
- Cart Management: Add products to the cart and manage product stock quantities.
- Reviews: Add, view, and delete reviews for products.
- Email Notifications: Automated email services for successfully registered user and order confirmations.
- Security: Authentication and authorization using Spring Security.
Here are some visualizations of the website:
- Spring Boot: Core framework for building the application.
- Spring Data JPA: Data access layer.
- Spring Security: Security and authentication.
- ModelMapper: Object mapping.
- Java Mail: Email services.
- Thymeleaf: Template engine for email templates.
- MySQL: Primary databases for production.
- Java GreenMail: Library for testing email functionality