Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📦 Simple Inventory Management System (Java Console App)

A console-based Inventory Management System developed in Java using Object-Oriented Programming and Java Collections, designed for beginner to intermediate developers. It allows users to manage product inventories with features like adding, viewing, updating, deleting, and monitoring low stock.


🛠️ Tech Stack

  • Java SE (JDK 8+)
  • ArrayList for in-memory storage
  • Scanner for user input
  • IDE: VS Code

🎯 Features

  • ✅ Add a new product (ID, Name, Quantity, Price)
  • 📋 View all products
  • ✏️ Update product details
  • 🗑️ Delete a product
  • ⚠️ Show low-stock items (below threshold)
  • 🚪 Exit the program safely

🧠 Concepts Demonstrated

  • Object-Oriented Programming (OOP)
  • Java Collections (ArrayList)
  • Modular programming (methods and separation of logic)
  • Scanner-based input handling
  • Console-based menus and user interaction

🧱 Project Structure

InventoryManager/ 
├── Product.java // Product data model 
├── Inventory.java // Inventory logic (CRUD operations) 
└── Main.java // Console UI and application entry point  

🧪 Sample Test Cases

Scenario Expected Output
Add Product ✅ Product added successfully
View Products 📋 List of products
Update Product (valid ID) ✅ Product updated
Update Product (invalid) ❌ Product not found
Delete Product 🗑️ Product deleted
Low Stock Alert ⚠️ Show all low stock items

🔧 How to Run

  1. Clone the repo or copy source files into your IDE
  2. Compile and run Main.java
  3. Follow the menu instructions in the console

📈 Future Enhancements (Optional)

  • Add file storage (CSV or JSON)
  • Integrate with database (JDBC or MySQL)
  • Implement GUI using Swing or JavaFX
  • Role-based login system (Admin/User)
  • Export product reports as PDF or Excel

📄 License

This project is open-source and free to use for educational and personal purposes.


🙋‍♂️ Author

Ujjwal Gupta
Beginner Java Developer | Backend Enthusiast
Connect: LinkedIn | GitHub


About

Simple Inventory Management System

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages