An open API service indexing awesome lists of open source software.

https://github.com/katkargaurav09/java-e-commerce-console-app

Java E-commerce Console is a simple Java-based e-commerce console application that simulates basic online shopping functionality. It allows users to manage a product inventory, add/remove products from a shopping cart, and view the cart—all using Java's object-oriented principles and ArrayList for dynamic data storage.
https://github.com/katkargaurav09/java-e-commerce-console-app

arraylist corejava inheritance java oop

Last synced: 9 months ago
JSON representation

Java E-commerce Console is a simple Java-based e-commerce console application that simulates basic online shopping functionality. It allows users to manage a product inventory, add/remove products from a shopping cart, and view the cart—all using Java's object-oriented principles and ArrayList for dynamic data storage.

Awesome Lists containing this project

README

          

# 🛒 Amazon Store - Java Console Application

A simple console-based e-commerce store simulation where users can:
- Add/Remove products from the store
- Manage shopping cart
- View product details

## 💻 Tech Stack
- Java (Core, OOP)
- ArrayList
- Exception Handling

## 📂 Features
- Add, remove, update products
- Add/remove products from cart
- Custom exceptions for validation

## 🧩 Classes Overview
| Class | Description |
|--------------|------------------------------------------------|
| `Amazon` | Manages product list and cart |
| `Cart` | Stores selected products |
| `Product` | Represents a product with ID, name, price |
| `AmazonDriver` | CLI Menu for user interaction |

## 🚀 Run Instructions
1. Clone repo
2. Compile: `javac src/*.java`
3. Run: `java src/AmazonDriver`

## 📝 Future Improvements
- GUI using JavaFX
- Persistent storage (File/Database)