Skip to content

SVChougule/Spring-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Project - Supplier Management System

This is a Spring Boot application that demonstrates a supplier management system with four main entities: Customer, Orders, Products, and Supplier.
The project follows a layered architecture (Controller → Service → DAO → Repository → Entity) and uses Spring Boot, Spring Data JPA, and Hibernate for database interaction.


🚀 Features

  • Customer Management

    • Add, update, delete, and fetch customer details.
  • Supplier Management

    • Manage supplier information and associations.
  • Product Management

    • CRUD operations on products.
  • Order Management

    • Place orders linked with customers and products.
    • Order status management (PENDING, PROCESSING, SHIPPED, DELIVERED, CANCELLED, RETURNED).
  • Global Exception Handling

    • Handles cases like IdNotFoundException, NotRecordFoundException.

📂 Project Structure

com.supplier

│── controller # REST Controllers (Customer, Supplier, Orders, Products)

│── service # Business logic layer

│── dao # DAO layer for intermediate logic

│── repository # JPA repositories for DB interaction

│── entity # Entity classes (Customer, Supplier, Orders, Products)

│── dto # DTOs like OrderStatus (enum), ResponseStructure

│── exception # Custom exceptions & global exception handler

│── Application.java # Main Spring Boot Application

⚙️ Technologies Used

  • Java 17 (or your configured version)
  • Spring Boot
  • Spring Data JPA
  • Hibernate
  • Maven
  • PostgreSQL (or any configured database)
  • RESTful APIs

🛠️ Setup & Run

  1. Clone the repository
    git clone https://github.com/SVChougule/Spring-project.git
    cd Spring-project
    
    
    
    
    

About

Supply Chain Management System

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages