Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/srinivas6303/product-management-system-spring-mvc
A simple Product Management System built using Spring MVC framework. This application allows users to manage products by adding, retrieving, updating, and deleting product information.
https://github.com/srinivas6303/product-management-system-spring-mvc
jasper java maven mysql-database spring-boot spring-data-jpa spring-mvc tomcat-server
Last synced: 3 days ago
JSON representation
A simple Product Management System built using Spring MVC framework. This application allows users to manage products by adding, retrieving, updating, and deleting product information.
- Host: GitHub
- URL: https://github.com/srinivas6303/product-management-system-spring-mvc
- Owner: srinivas6303
- Created: 2025-02-06T08:09:18.000Z (4 days ago)
- Default Branch: main
- Last Pushed: 2025-02-06T08:25:48.000Z (4 days ago)
- Last Synced: 2025-02-06T09:27:08.430Z (4 days ago)
- Topics: jasper, java, maven, mysql-database, spring-boot, spring-data-jpa, spring-mvc, tomcat-server
- Language: Java
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Product Management System (PMS) - Spring MVC
A simple Product Management System built using Spring MVC framework. This application allows users to manage products by adding, retrieving, updating, and deleting product information.
## Introduction
This project is a basic implementation of a Product Management System using Spring MVC. It provides a user interface to perform CRUD (Create, Read, Update, Delete) operations on products.
The product information is stored in a database, and the application uses Spring Data JPA to interact with the database.## Features
* **Add Product:** Allows users to add new products to the system.
* **View All Products:** Displays a list of all products stored in the system.
* **Get Product by Name:** Retrieves product(s) based on the provided name.
* **Get Product by Place:** Retrieves product(s) located in a specific place.
* **Find Products by Substring:** Searches for products whose name, type, or place contains the given substring.
* **Out of Warranty Products:** Finds products whose warranty has expired based on the provided year.
* **Update Product:** Updates the details of an existing product.
* **Delete Product by Name:** Deletes a product based on its name.
* **Delete All Products:** Deletes all products from the system.*
## Dependencies
The following dependencies are required to run this application. This section reflects the dependencies as specified in your `pom.xml` file:* **Spring Boot Starter Web:** Provides essential web development dependencies, including Spring MVC.
* **Spring Boot Starter Data JPA:** Provides the necessary dependencies to use Spring Data JPA for database interaction.
* **MySQL Connector/J:** MySQL JDBC driver.
* **Tomcat Jasper:** For JSP view resolution.
* **Spring Boot Starter Test:** For writing unit and integration tests.## Classes and Interfaces
Here's a brief overview of the classes and interfaces in this project:* **`PmsSpringMvcApplication`**: The main Spring Boot application class.
* **`Product`**: Represents the product entity with attributes like name, type, place, and warranty.
* **`ProductDB`**: A Spring Data JPA repository interface for performing database operations on the `Product` entity. Extends `JpaRepository`.
* **`ProductServices`**: A service class that contains the business logic for managing products. It uses the `ProductDB` repository to interact with the database.
* **`ProductController`**: A Spring MVC controller class that handles HTTP requests and responses for product-related operations.## Setup
1. **Clone the repository:**
```
git clone
cd PMS_SPRING_MVC
```2. **Build the project using Maven:**
```
mvn clean install
```3. **Run the application:**
```
mvn spring-boot:run
```The application will be accessible at `http://localhost:8080`.
## Usage
1. Open your web browser and navigate to `http://localhost:8080`.
2. Use the provided forms to perform various product management operations such as adding, viewing, updating, and deleting products.https://github.com/user-attachments/assets/e7332246-249e-42dd-965f-5e80fc3778c3