Skip to content
Design OO food delivery app with C# & Design Patterns
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
FoodBuilding Added Tax calculation system on Total food price based on the type of… Apr 5, 2019
FoodCostTaxCalculation Added Tax calculation system on Total food price based on the type of… Apr 5, 2019
FoodDeliveryAppModel Added Tax calculation system on Total food price based on the type of… Apr 5, 2019
FoodDeliveryDriver Added Tax calculation system on Total food price based on the type of… Apr 5, 2019
OrderAndCancellation Added Tax calculation system on Total food price based on the type of… Apr 5, 2019
Properties Adding Project Dec 28, 2016
RestaurantFoodMenu Added Tax calculation system on Total food price based on the type of… Apr 5, 2019
RestaurantSearch Added Tax calculation system on Total food price based on the type of… Apr 5, 2019
RestaurantWebService Added Tax calculation system on Total food price based on the type of… Apr 5, 2019
Tracking Added Tax calculation system on Total food price based on the type of… Apr 5, 2019
Utils Added Tax calculation system on Total food price based on the type of… Apr 5, 2019
bin/Debug Added Tax calculation system on Total food price based on the type of… Apr 5, 2019
obj/Debug Added Tax calculation system on Total food price based on the type of… Apr 5, 2019
7.png added sequence diagram Mar 8, 2018
Aggregation Dependencies Graph.png Add files via upload Jan 16, 2019
App.config Adding Project Dec 28, 2016
Dependencies Graph1.png Add files via upload Jan 16, 2019
FoodDeliveryApp.csproj Added Tax calculation system on Total food price based on the type of… Apr 5, 2019
FoodDeliveryApp.sln Adding Project Dec 28, 2016
FoodDeliveryApp.v12.suo Added Tax calculation system on Total food price based on the type of… Apr 5, 2019
Group by ProjectGraph.png Add files via upload Jan 16, 2019
LICENSE Create LICENSE Feb 2, 2018
Program.cs Added Tax calculation system on Total food price based on the type of… Apr 5, 2019
README.md Added Strategy Design pattern for the Tax calculation. Apr 5, 2019

README.md

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

You can’t perform that action at this time.