- A console application where you can
register
as a user and add products as theowner
of the shop.- Basically simulating an online shop.
- As the
owner
you can do the following:- Add a product.
- View transactions.
- View customers details.
- View your products.
- Remove a customer.
- Your added products,transactions, and customers are stored into a CSV file so that when you exit the program, you can still see those informations.
- And the
customers
can do the following:- Cash in.
- Go shopping. (can add to cart or buy)
- View Info.
- View balance.
- View your cart.
- Clear your cart.
- Checkout.
- View your bought products.
- Customers money, cart , and bought products are also stored into a CSV file for later use.
-
Clone the Repository
git clone https://github.com/Jiseeeh/console-shop.git
-
Open it in your favorite editor
-
Run Main.java
-
Login using this:
-
username:
owner -
password:
123
-
-
You can now add products!
-
Register customers and test it!
- Make a separate class for the
lists
- Remove product's quantity properties, because it represents a single product.
- because having that property there, it would look like an inventory.
- I don't think that I am going to fix that (i am studying js), so if you want to practice java you can just make a PR then I'll check it.