A simple inventory management system built using Java, JDBC, and MySQL.
- Add new products to the inventory
- View all products in the inventory
- Update product details (name, quantity, price)
- Delete products from the inventory
- Java
- JDBC
- MySQL
-
Clone this repository:
git clone https://github.com/sj-shubh/Java-Inventory-Management.git
-
Install MySQL and create the database:
CREATE DATABASE InventoryDB; USE InventoryDB; CREATE TABLE Products ( id INT AUTO_INCREMENT PRIMARY KEY, name VARCHAR(100), quantity INT, price DECIMAL(10, 2) );
-
Configure the database connection:
- Edit the
config/db_config.properties
file with your database details:db.url=jdbc:mysql://localhost:3306/InventoryDB db.username=root db.password=yourpassword
- Edit the
-
Compile and run the project:
- If using Gradle:
gradle run
- If using Gradle:
- User authentication
- Reporting features
- Web interface (Spring Boot)