Skip to content

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.

Notifications You must be signed in to change notification settings

Nischay-Codes/grocery-inventory-java

Repository files navigation

grocery-inventory-java

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.

Grocery Inventory System - Java

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.


Features

  • 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

Technologies Used

  • Java
  • OOP (Classes, Objects, Methods)
  • Java Collections (ArrayList, HashMap)
  • File I/O (optional, based on version)

How to Run

  1. Clone the repo
  2. Open in any Java IDE (IntelliJ, VSCode, Eclipse) or terminal
  3. Run the Main.java file
  4. Follow the command-line menu options to interact with the system

Demo (optional)

You can add a screenshot or terminal demo gif later.


Future Scope

  • Add file persistence (save/load inventory)
  • GUI with JavaFX or Swing
  • Authentication system (admin vs customer)

About

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages