A Java-based command-line Grocery Inventory System with stock management, cart system, and real-time billing. Built using OOP concepts and collections to simulate a real-world store.
A simple but powerful Grocery Inventory System built in Java using core Object-Oriented Programming and Collections. It simulates a grocery store with features like inventory tracking, cart management, billing, and stock updates.
- Add and manage grocery items with quantity and price
- View current stock
- Add items to cart and view billing details
- Automatically reduce stock when items are purchased
- Command-line interface for easy usage
- Java
- OOP (Classes, Objects, Methods)
- Java Collections (
ArrayList,HashMap) - File I/O (optional, based on version)
- Clone the repo
- Open in any Java IDE (IntelliJ, VSCode, Eclipse) or terminal
- Run the
Main.javafile - Follow the command-line menu options to interact with the system
You can add a screenshot or terminal demo gif later.
- Add file persistence (save/load inventory)
- GUI with JavaFX or Swing
- Authentication system (admin vs customer)