This is the implementation for an online marketplace cli application.
- Java 17 LTS
- User Registration
Requires:
- Unique User ID
- user name (can contain spaces)
- user email
- user password
- Fetch User Data (can be used for login)
Requires:
- User ID
- Product Listing
Requires:
- Unique Product ID
- Product Name (can contain spaces)
- Product Description (can contain spaces)
- Product Price
- Product Quantity in Stock
- Product Lookup
Requires:
- Product ID
- Add product(s) to user cart
Requires:
- User ID
- Product ID
- Quantity
- View User Cart
Requires:
- User ID
- Checkout User Cart
Requires:
- User ID
- View User Order History
Requires:
- User ID
Note: After entering any value required press "enter"/"return" key.
- After Extraction of the zip Navigate to the current folder on the terminal.
- To Compile
javac -d out onlineMarketplace/Solution.java
- To Run
java -classpath out onlineMarketplace.Solution
- Enter Approprite input as per requirements