Exercise

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

Upon using the following text, draw the appropriate use cases diagram:

The following are the rules of an online grocery shop.

The user should sign up the first time he enters the application. The client signs up by filling the
form with the following details: Full name, email, username, password, address, phone number,
and bank account. However, this client remains signed in until he logs out. The client could edit
any details related to him. The administration, is responsible of adding categories, and then
creating items and linking each item to only 1 specific category. The client could browse the list
of items found in all categories. The client could view all the details of an item as he clicks on
one of them. The client could create an order and sets its delivery date. While viewing an item’s
detail, the client could purchase the item by clicking on the “Purchase” button and then choosing
the order he want this item to be added for. The client could send the order when he is
completely done adding the items to it. The client could browse the list of all orders (that are sent
and to be sent) and while that, he could view the details of each. Before sending the order and
while viewing it, the client could remove any listed item from it. The administration assigns an
order to one driver and sends a message containing client’s order id details in order for him to
deliver the order to the client. When the driver delivers the order, he should change the order’s
status to delivered. Only the assigned orders for the driver are listed in his account. The driver is
capable of viewing all of these orders. The administration could edit and delete any item or
category.

You might also like