Skip to content

Latest commit

 

History

History
245 lines (141 loc) · 8.84 KB

README.md

File metadata and controls

245 lines (141 loc) · 8.84 KB

Ecommerce Store is a online shopping project built with Java Spring Boot MVC and Thymeleaf. This web application provides a good user experience through a frontend developed with HTML, CSS, JavaScript, and jQuery, including powerful jQuery DataTables for enhanced data management.

The backend used Spring Boot for clean, structured code with a service layer, Spring Data JPA for efficient database operations using MySQL, and Spring Security to protect user data with authentication and role-based authorization. Optimized with Lombok to reduce boilerplate code, this project is packaged as a WAR file for easy deployment on any servlet container, like Apache Tomcat.

Features

  • Spring Boot MVC Architecture: This project follows a well-organized architecture with Service, Repository, and Controller layers to ensure clean code, easy maintenance, and scalability.

  • Frontend Technologies:

    • Thymeleaf: Server-side Java templating engine for rendering dynamic HTML pages.
    • HTML5/CSS3: Responsive design for modern browsers and mobile devices.
    • JavaScript & jQuery: Enhance user interactivity with dynamic elements.
    • jQuery DataTables: Efficient data handling and display with pagination, sorting, and search functionalities.
  • Backend Technologies:

    • Java Spring Boot (3.3.2): Core framework for the application backend, handling business logic and database interaction.
    • Spring Data JPA: Simplified data access and database queries with custom JPA finder methods.
    • MySQL: Relational database used for data persistence.
    • Spring Security: Secure the application with user authentication and role-based authorization.
    • Lombok: Simplifies code with annotations to eliminate boilerplate code (like getters, setters, constructors).
    • Maven: Build tool for project management and dependency management.
    • Java Mail Sender: Send Email for Password Reset.
  • Security Features:

    • User authentication and authorization with Spring Security.
    • Protected routes and roles-based access control.
  • Deployment: Packaged as a WAR file, suitable for deployment on any servlet container like Apache Tomcat.

  • Modern Development Practices:

    • Spring Boot DevTools for faster development and hot reload.
    • Custom JPA Queries for efficient data retrieval and management.

Requirements

  • Java 17 (project setup supports Java 17 but can be adjusted for Java 8 environments)
  • MySQL -Maven -Apache Tomcat (for WAR deployment)

Installation

1. Clone the repository:

git clone https://github.com/mdtalalwasim/Ecommerce_Store.git

2. Navigate to the project directory:

cd Ecommerce_Store

3. Set up the MySQL database:

CREATE DATABASE ecommerce_store;

4. Configure database connection settings in application.properties:

spring.datasource.url=jdbc:mysql://localhost:3306/ecommerce_store
spring.datasource.username=your-username
spring.datasource.password=your-password

5. Run the application: Access the app at http://localhost:8080.

More keyword related to this project:

  • Ecommerce Store Java
  • Spring Boot MVC Ecommerce
  • Thymeleaf Spring Boot
  • Ecommerce website Spring Security
  • Java Spring Boot Shopping Cart
  • MySQL Spring Boot Ecommerce
  • Ecommerce Project with Java and MySQL
  • Java Ecommerce Repository
  • Spring boot Ecommerce Repository

Project Screenshots are given below:

**Note : Project is Not Fully Completed yet, Still More Modules are in under development. The project will updated day by day.

Index Page:

index-page index-page-02 index-page-03 Index-page-04-with-category-Dropdown

Register Page

Register-User-Page

Login Page:

Login Page

Admin Dashboard

Admin-Dashboard

User:

User-Login-Page

User After Login:

User_Login_Index_Page

User Disable Feature :

WhenUser-Disable

Wrong Password Enter:

WrongPasswordLoginTry

Logout:

LogoutSuccefully

Category Module:

Category Home:

All_category-List

ADD Category:

Add-a-Category

Edit Category

Edit-a-Category

Search Category

Search-Category-in-Category-List

Product Module

Product Home

product-list

Add Product Page

add-product-form

add-product-form-fillup

Product Added

product-save-successfully-home

Product Home - List of All Product ListOfAll-Products

Edit Product Module Edit Product with Discount Edit-Product-With-10%-Discount

Product Updated with Discount

Product-Update-With-Discount-Price

After Adding 10% Discount

Product-List-many

ListOfAll-Products

Product Details

Single-Product-Details-Page

Single-product-details-page-02

Details-Product-Blazer

Details-product-with-discount

Out of Stock Product

Out-of-Stock-Products

Product Category Filter

Category Wise Product Filtering

All Category

All_category-List

All Products - All Categories Product

Category-All-Product-with-Discount

Filter Category wise products

Casual Shirt:

Category-wise-casual-Shirts

KnitWear:

Category-wise-knit-wear

Blazer :

Category-wise-blazer

Panjabi:

Category-wise-panjabi-product

Pants:

Category-Wise-Pants

Accessories:

Category-wise-accessories

No Product Found for This Category:

No-Product-with-this-category

Forgot Password: Screenshot from 2024-10-17 21-40-50

Screenshot from 2024-10-17 21-40-59