Skip to content

Tianyu-Fang/Java-Electronic-Shopping-Mall-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

12 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ“š E-Shop: Electronic Shopping Mall System

Overview

E-Shop is an online shopping platform for purchasing programming-related books. Developed with Java EE, it features a structured front-end and back-end system, allowing users to browse, purchase, and manage book orders efficiently. Admins have additional privileges for website maintenance and database management.

๐Ÿ”ง Tech Stack

  • Front-End: HTML, CSS, JavaScript, jQuery, Ajax
  • Back-End: Java EE, JSP, Servlet
  • Database: MySQL 8.0
  • Server: Tomcat v9.0.56
  • Development Tools: Eclipse
  • Packages Used: jstl-1.2.jar, smartupload.jar, mysql-connector-java-8.0.27.jar

๐ŸŽฏ Features

๐Ÿ”น User Functionalities (Customers)

  • Register/Login/Logout
  • Browse books by category
  • Add to cart and modify items
  • Purchase books and view order history
  • Modify shipping address

๐Ÿ”น Admin Functionalities

  • Manage customers (view/update details)
  • Modify product categories and book details
  • Monitor orders and website operations

๐Ÿ”น Security & Enhancements

  • AJAX Implementation: Prevents duplicate user registration & cart overloading
  • Access Control: Restricts user operations with filters
  • Role-Based Access: Only admins can access backend functionalities
  • User Privacy Protection: Customers can only see their own personal information

๐Ÿ— Project Structure

  • MVC Pattern for maintainability & scalability
  • Responsive UI similar to popular shopping platforms (e.g., Amazon)
  • Advanced search & structured categories for easy navigation

๐Ÿš€ Getting Started

Prerequisites

  • Install Eclipse IDE
  • Setup Tomcat v9.0.56 server
  • Install MySQL 8.0
  • Configure database connection in mysql-connector-java-8.0.27.jar

Installation

  1. Clone this repository:
    git clone https://github.com/yourusername/e-shop.git

Project Design

Project Architecture

Project Architecture

Database Relation Diagram

Relation Diagram

MVC Pattern

MVCPattern1 MVCPattern2

MVC Package Structure

MVC Package Diagram

Use Case Diagrams and Sequence Diagrams for Clients

User Login

User Login Use Case User Login Sequence Diagram

Personal Center

Personal Center Use Case Personal Center Sequence Diagram

Order Management

Order Management Use Case Order Management Sequence Diagram

Checkout

Checkout Use Case Checkout Sequence Diagram

Cart Management

Cart Management Use Case Cart Management Sequence Diagram

Book Display

Book Display Use Case Book Display Sequence Diagram

Use Case Diagrams for Admin

User Management

User Management Use Case

Book Management

Book Management Use Case

Category Management

Category Management Use Case

๐ŸŽจ User Interface (UI) Screenshots

๐Ÿ”น Authentication & User Management

User Login

User Login UI

User Registration

User Registration UI

Reset Password

Reset Password UI

User Management (Admin)

User Management UI


๐Ÿ”น Admin Panel

Admin Login

Admin Login UI

Admin Menu

Admin Menu UI

Product Management

Product Management UI

Category Management

Category Management UI


๐Ÿ”น Shopping & Orders

Product List

Product List UI

Product Detail

Product Detail UI

Search Product

Search Product UI

Shopping Cart

Shopping Cart UI Shopping Cart UI

Payment

Payment UI

Order Management

Order Management UI

Paid Orders

Paid Orders UI

Order Confirmation

Order Confirmation UI

Manage Address

Manage Address UI

About

This is the group project of SWE306

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •