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
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.
- 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.
- Java 17+
- Spring Boot
- Thymeleaf (UI templating)
- Bootstrap (styling)
- SQL Server (database)
- Apache POI / PDFBox (document parsing)
- Cosine Similarity / TF-IDF (algorithm)
- Hibernate (JPA)
-
Clone the repository:
git clone https://github.com/your-repo/Spring_Boot_UI_Based_Projects.git
-
Open in your IDE (e.g., IntelliJ, Eclipse).
-
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
-
Run the project using:
mvn spring-boot:run
-
Access the app at: http://localhost:8080
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
- 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.
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.
- Register as a new customer
- View available products
- Place orders for selected products
- Add new products to inventory
- Maintain product catalog
- View placed orders (simulation logic)
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
This project demonstrates the use of fundamental Data Structures & Algorithms:
LinkedList: To store product inventoryArray: For managing user dataQueue: For order processingBinary Search Tree (BST): For organizing product catalogGraph: To simulate order relations or dependencies
- Java 17+
- Maven
- Spring Boot
- Any IDE (IntelliJ / Eclipse)
-
Clone the repo:
git clone https://github.com/your-user/Ecommerce-Simulation.git cd Ecommerce-Simulation -
Start SQL Server (if needed) and configure
application.propertiesaccordingly. -
Build and run:
mvn spring-boot:run
-
Open in browser: http://localhost:8080
- 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.
- Thymeleaf (HTML templating engine)
- Bootstrap (optional: styling for UI)
- Static HTML (
index.html) is used for front page and can be extended.
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
- 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.
Ali Huzaifa Nadeem
GitHub Profile
This project is for educational purposes only.