Open bmordan opened 4 years ago
@startuml
title Restaurant Class Diagram
class Restaurant {
class Menu {
class MenuItem {
@enduml
@startuml
title Use Case Diagram
left to right direction actor Customer actor DeliveryDriver actor Paypal
rectangle System { (View nutrition info) as OF (Select box) as SB (Checkout) as C (Pause Deliveries) as PD (View route) as VR
}
Customer --> OF Customer --> PD Customer --> SB Customer --> C C --> Paypal
DeliveryDriver --> VR
@enduml
@startuml
title Use Case Diagram
left to right direction actor Customer actor DeliveryDriver
rectangle System { (Select box) as SB (Checkout) as C (View route) as VR
}
Customer --> SB Customer --> C C --> Paypal
DeliveryDriver --> VR
@enduml
@startuml
title Activity Diagram \n
(*) --> "Attempt delivery"
(*) --> "Attempt delivery"
if "Person in" then -->[true] "Mark delivered" -right-> () else -->[false] "Leave with neighbour" --> () endif
@enduml
@startuml
actor Customer
package "Load Balancer Layer" { [Load Balancer] }
package "Web Server Layer" { [Web Server] }
package "Application Server Layer" { [Application Server] }
cloud { [Authentication Server] }
database "Postgres" { frame "Table" { [Orders] } }
Customer -down-> [Load Balancer] [Load Balancer] -down-> [Web Server] [Web Server] -down-> [Authentication Server] [Authentication Server] -down-> [Application Server] [Application Server] -down-> [Orders]
@enduml
@startuml
title UML Class Diagram
class Account class Delivery class Recipe class OneOffDelivery class RepeatingDelivery class Discount
Delivery "1" *-- "many" Recipe
Delivery <|-down- OneOffDelivery Delivery <|-down- RepeatingDelivery
User "1" -down-> "1" Account Discount "1" -> "" Account Account "1" -> "" Delivery
@enduml
@startuml
title "UML Sequence Diagram"
actor User
User -> Webapp : pause delivery Webapp --> User Webapp -> API : pause delivery API --> Webapp API -> Account : pause delivery Account --> API Account -> Delivery : check within timeframe Delivery --> Account Account -> Delivery: delete Delivery --> Account
@enduml
created by Mandy in Canva
Created by Mandy