A console application where the customer can explore information about plant and buy it. In addition, the seller can edit, add or delete the product.
The project implements a number of design patterns such as Factory method, Facade, Singleton, Commande, and Memento in the context of a plant shop.
- Open GoGreen project in JetBrains IDEA
- Run src/GoGreen.java
-
Requirements:
- git
- java 11
-
git clone https://github.com/Vldmr314/GoGreen -
From poject directory run
java -jar out/artifacts/GoGreen_jar/GoGreen.jar
- After starting the program, you need to register by entering the login and password. If the program was launched earlier, use
Authorizes the user - There are several levels of access to the application - client and administrator. The administrator has an extended set of commands compared to the client. To log in as an administrator, enter the login
adminand the passwordadmin - The client can go to the page with the products and their description. When the customer has decided on the purchase, he needs to add it to the cart and then proceed to checkout. The client can view the items in the shopping cart at any time and delete them
- The administrator can remove products from the store or add new ones. In addition, the administrator has the ability to hide or show the required command. For example, the
Print a list of all registered userscommand is hidden by default
The project was developed by students of Innopolis University
from group B21-03 (team 17):
Evgeny Gerasimov e.gerasimov@innopolis.university
Vladimir Ryabenko v.ryabenko@innopolis.university
Ivan Chebykin i.chebykin@innopolis.university
Ruslan Abdullin ru.abdullin@innopolis.university
Victor Danilin v.danilin@innopolis.university
