Skip to content

Design OO food delivery app with C# & Design Patterns

License

Notifications You must be signed in to change notification settings

do-the-math/FoodDelivery

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Problem Statement


Design OO food delivery app catering to use cases -

  1. User can search different restaurant

  2. User can select a restaurant

  3. User sees a menu

  4. Restaurant can change the menu any time

  5. User adds an item from menu

  6. User orders the food

  7. User can track the order in real time

  8. User can cancel the order

  9. User pays for the order

  10. Calculation of Tax based on the type of Restraunt


Soulution:

Design Patterns involved in the design of this app:

  1. Builder Design Pattern (For adding food item and ordering)

  2. Interpreter Design Pattern (User can Search Different restaurant)

  3. Iterator Pattern (User Sees Menu)

  4. Observer Pattern (Track an order in Real Time)

  5. (Command Design Pattern) Order and cancellation of Food

  6. (Strategy Design Pattern) Calculation of Tax based on the type of Restraunt

img

img

img

img

About

Design OO food delivery app with C# & Design Patterns

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%