SA
sabamadadi/Online-Shop
Designing an online shop inspired by Amazon using Java!
๐ Digikala Online Shop Simulator
Course: Advanced Programming - Spring 2023
Project Type: Solo Project
Score: 460 out of 400 [60 extra points]
๐ Introduction
A command-line-based online shop simulator inspired by Digikala & Amazon.
Implemented in Java, showcasing OOP principles: inheritance, polymorphism, abstraction, and encapsulation.
๐ Features
๐ฌ Shop
- Name, web address & support phone
- Manages accounts, products, orders, and profit
๐ฅ Account Types
- Admin: manage funds, authorize sellers, add new admins
- User: register, browse products, manage cart, place orders
- Seller: manage products, receive payments after order confirmation
๐ฆ Products & Cart
- Products: name, price, quantity, comments, category
- 10+ categories using inheritance
- Users can search, view, add to cart, update cart, and checkout
๐ณ Wallet & Orders
- Admins add funds to users
- Sellers earn after order confirmation
- Shop earns 10% commission per product
- Orders: date, total price, buyer & seller info
โจ Bonus Features
- Persistent data storage (files/DB)
- GUI with JavaFX
- Product rating & recommendations
- Multiple sellers per product
- Shipping fees, notifications, subscription & refund system
๐ Tools & Libraries
- Java, UUID, Maven/Gradle
- Optional: JavaFX, PostgreSQL
โก Setup & Run
git clone https://github.com/sabamadadi/Online-Shop.git
cd Online-Shop
mvn clean install # or gradle build
java -jar target/Online-Shop.jar