Skip to content

alihuzaifa2004/Spring_Boot_UI_Based_Projects

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

📁 Java Mini Projects with GUI

This repository is created to deliver a collection of Java mini projects with GUI interfaces. The included projects are:

  • 🕵️ Plagiarism Detection System
  • 🛒 Ecommerce Management System

🕵️ Plagiarism Detection System (Spring Boot)

This project is a Plagiarism Detection System developed using Java Spring Boot. It helps in detecting textual similarities between documents, code files, or custom inputs.

✅ Features

  • Upload two documents (TXT, PDF, or DOCX).
  • Select comparison algorithm (TF-IDF or Cosine Similarity).
  • Show similarity percentage.
  • Highlight matching sections.
  • Display detailed similarity report on the UI.

🛠️ Technologies Used

  • Java 17+
  • Spring Boot
  • Thymeleaf (UI templating)
  • Bootstrap (styling)
  • SQL Server (database)
  • Apache POI / PDFBox (document parsing)
  • Cosine Similarity / TF-IDF (algorithm)
  • Hibernate (JPA)

▶️ How to Run

  1. Clone the repository:

    git clone https://github.com/your-repo/Spring_Boot_UI_Based_Projects.git
  2. Open in your IDE (e.g., IntelliJ, Eclipse).

  3. Make sure SQL Server is running and update application.properties:

    spring.datasource.url=jdbc:sqlserver://localhost:1433;databaseName=PlagiarismDB
    spring.datasource.username=your_username
    spring.datasource.password=your_password
  4. Run the project using:

    mvn spring-boot:run
  5. Access the app at: http://localhost:8080


📂 Folder Structure

Spring_Boot_UI_Based_Projects/
├──PlagiarismSystem/
│  ├── .mvn/
│  ├── .settings/
│  ├── java/
│  ├── src/
│  │   ├── main/
│  │   │   ├── java/
│  │   │   │   └── com/example/plagiarismscheme/
│  │   │   │       ├── controller/
│  │   │   │       │   └── PlagiarismController.java
│  │   │   │       ├── service/
│  │   │   │       │   └── PlagiarismService.java
│  │   │   │       └── PlagiarismSystemApplication.java
│  │   │   └── resources/
│  │   │       ├── static/
│  │   │       │   └── index.html
│  │   │       ├── templates/
│  │   │       └── application.properties
│  ├── test/
│  ├── target/
│  ├── pom.xml
│  ├── mvnw / mvnw.cmd
│  ├── .classpath / .factorypath / .project
│  └── .gitignore / .gitattributes

📌 Notes

  • Ensure dependencies like Apache POI or PDFBox are included in pom.xml.
  • This system can be extended to check for code plagiarism using token or AST-based methods.
  • Frontend allows drag-drop or browse-upload methods.

🛒 Ecommerce Management System (Spring Boot)

This is a Java Spring Boot based simulation of an Ecommerce Management System. It includes a frontend using HTML (Thymeleaf), backend RESTful services, and implementation of various Data Structures like Linked List, Queue, Graph, Array, and Binary Search Tree to manage internal operations.


✅ Features

👥 Customer Panel

  • Register as a new customer
  • View available products
  • Place orders for selected products

🛠️ Admin Panel

  • Add new products to inventory
  • Maintain product catalog
  • View placed orders (simulation logic)

🗂️ Project Structure

Ecommerce-Simulation/
├── src/
│   ├── main/
│   │   ├── java/
│   │   │   └── com.example.ecommerce/
│   │   │       ├── EcommerceSimulationApplication.java
│   │   │       ├── controller/
│   │   │       │   └── EcommerceController.java
│   │   │       ├── model/
│   │   │       │   ├── Order.java
│   │   │       │   ├── Product.java
│   │   │       │   └── User.java
│   │   │       ├── service/
│   │   │       │   └── SimulationService.java
│   │   │       └── structure/
│   │   │           ├── InventoryLinkedList.java
│   │   │           ├── OrderGraph.java
│   │   │           ├── OrderQueue.java
│   │   │           ├── ProductBST.java
│   │   │           └── UserArray.java
│   ├── resources/
│   │   ├── templates/
│   │   │   └── index.html
│   │   └── application.properties
├── pom.xml

🧠 Core Concepts

This project demonstrates the use of fundamental Data Structures & Algorithms:

  • LinkedList: To store product inventory
  • Array: For managing user data
  • Queue: For order processing
  • Binary Search Tree (BST): For organizing product catalog
  • Graph: To simulate order relations or dependencies

🚀 Getting Started

📋 Prerequisites

  • Java 17+
  • Maven
  • Spring Boot
  • Any IDE (IntelliJ / Eclipse)

▶️ Run the App

  1. Clone the repo:

    git clone https://github.com/your-user/Ecommerce-Simulation.git
    cd Ecommerce-Simulation
  2. Start SQL Server (if needed) and configure application.properties accordingly.

  3. Build and run:

    mvn spring-boot:run
  4. Open in browser: http://localhost:8080


🧪 Example Use Cases

  • A user opens the site, registers, and browses products.
  • The admin adds new items to the system.
  • The user selects a product and places an order.
  • Data Structures process and simulate these actions behind the scenes.

🌐 UI Technology

  • Thymeleaf (HTML templating engine)
  • Bootstrap (optional: styling for UI)
  • Static HTML (index.html) is used for front page and can be extended.

📦 Maven Dependencies

All required dependencies are listed in pom.xml. These include:

  • Spring Boot Starter Web
  • Spring Boot Starter Thymeleaf
  • Lombok (if used)
  • Validation and Web MVC

📌 Notes

  • This is a simulation system, not connected to a real database unless extended.
  • You can replace simulation data structures with real database operations as enhancement.
  • Make sure to handle validations and edge cases for production.

👨‍🎓 Author

Ali Huzaifa Nadeem
GitHub Profile

📜 License

This project is for educational purposes only.

About

Java spring boot UI based projects for university Student .

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published