Skip to content

timur-harin/TeamProjectSSAD

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Herb & Grocery Shopping App

SSAD course team project

Team member % of work telegram
Ilya Pechersky 25% @Happy_endon
Timur Kharin 25% @tim404
Renat Khairullin 25% @renatkh
Grisha Rybolovel 25% @Grisha_Rybolovlev

Implemented pattern

Factory Method - is a creational design pattern that provides an interface for creating objects in a superclass, but allows subclasses to alter the type of objects that will be created.

We dicided to use factory method to be able to initialize both types of shops(Food and Health). What is why we have Factory method and FoodMethod + HealthMood classes which extend from FactoryMethod.
The main reason that we use this patern is the fact that in the future we may need to expand the line of stores that will have differences.
Because of the factory method we will need to do much less actions and safely call the initialization of a new type of store using an already created generic factory method.

Project structure

A description of the classes and their functionality can be found in the folder src

Build and launch

Example (Windows)

Building a project

Clone the project to your device via Git for Windows (or write this link):

git clone https://github.com/IlyaPechersky/TeamProjectSSAD.git

Launch java project

Run this java file:

UML DIAGRAM

About

SSAD course team project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%