Skip to content

Jiseeeh/console-shop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ConsoleShop

GitHub last commit GitHub code size in bytes

What's a console shop?

  • A console application where you can register as a user and add products as the owner 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.

Steps to get started

  • 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!


My prof's suggestion

  • 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.

About

Project for OOP subject

Topics

Resources

Stars

Watchers

Forks

Languages