The Order Management System is a Spring Boot application designed to manage customer orders. It includes functionalities to create customers, products, and orders while calculating the total amount for each order dynamically.
- Customer Management
- Product Management
- Order Management
- Dynamic Total Amount Calculation
- RESTful API
- Java
- Spring Boot
- Spring Data JPA
- PostgreSQL
- Maven
- Java 17
- Maven
- PostgreSQL
- Clone the repository:
git clone https://github.com/yourusername/order-management-system.git cd order-management-system
- Configure the database:
Update the application.yml file in src/main/resources with your PostgreSQL database credentials
spring: datasource: url: jdbc:postgresql://localhost:5432/yourdatabase username: yourusername password: yourpassword jpa: hibernate: ddl-auto: update show-sql: true
- Build the Project
mvn clean install
- run the application
mvn spring-boot:run