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.
- Host: GitHub
- URL: https://github.com/katkargaurav09/java-e-commerce-console-app
- Owner: Katkargaurav09
- Created: 2025-03-21T04:57:39.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-03-21T04:59:53.000Z (9 months ago)
- Last Synced: 2025-03-21T05:29:12.679Z (9 months ago)
- Topics: arraylist, corejava, inheritance, java, oop
- Language: Java
- Homepage:
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)