Skip to content

sauraz/Menu-Ordering-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Menu Ordering System

Create a system that takes orders for breakfast, lunch, and dinner.

Requirements

  • Java 13

Installation

  1. Clone repository from the given github Repository Link or extract zip file.
  2. Change directory to the path of project "cd Menu Ordering System/src/main/java/".
  3. Generate the Class Files of all java files using the command "javac org/menu/Main.java".
  4. Execute the program using the command "java org.menu.Main".

Run using Docker

  1. Run these steps
    • docker build . -t app
    • docker run -i -t app
    • Input order here

Rules:

  1. An order consists of a meal and collection of comma separated item Ids.
  2. The system should return the name of the items ordered
  3. The system should always return items in the following order: meal, side, drink
  4. If multiple items are ordered, the number of items should be indicated
  5. Each order must contain a main and a side
  6. If no drink is ordered, water should be returned
  7. At breakfast, multiple cups of coffee can be ordered
  8. At lunch, multiple sides can be ordered
  9. At dinner, dessert must be ordered
  10. At dinner, water is always provided

Design Patterns Used

  • Facade Pattern
  • Factory Pattern
  • Iterator Pattern
  • Bridge Pattern

Simple UML Diagram :

Alt text

Detailed UML Diagram :

Alt text

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •