| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
The Order Processing System is a Java-based application that processes orders, validates them, and stores the results into JSON files. It handles customer data, product availability, and payment information, ensuring that confirmed orders and errors are properly recorded.
Clone the Repository:
git clone https://github.com/Adamo08/OrderProcessingSystem.git
cd OrderProcessingSystemInstall Dependencies: Ensure you have Java and Maven installed.
Create the Database:
Import the Database Schema:
Import the tables.sql file located in the util package to your database in phpMyAdmin. This file contains the SQL commands for creating the necessary tables and inserting testing data.
Make sure to update the DatabaseUtil.java file, where the database connection URL is specified. By default, it is set to port 4306:
private static final String URL = "jdbc:mysql://localhost:4306/oms_db";If you are using the default MySQL port, change it to:
private static final String URL = "jdbc:mysql://localhost:3306/oms_db";Build the Project: Use Maven to build the project:
mvn clean installRun the Project: After building the project, run it using Maven:
mvn exec:javaFor a detailed walkthrough of the project, refer to the demo video.
| Back | FazBrowse Home | New Git URL |