ucsdeventhub / EventHub

4 stars 0 forks source link

use case: notifications from favorited events #24

Open ear7h opened 3 years ago

ear7h commented 3 years ago

Description

User receives notifications a specified time amount before an event they have favorited, the default behind 15 minutes.

User Goal

To be reminded of an event a student has shown interest in so that they can attend.

Actor

Student

Dependent Use Cases

23

Requirements

The system shall notify and remind the user about an event that they favorited based on a previously set time interval.

Pre-Conditions

Student has favorited an event.

Post-Conditions

The student recieves emails about the particular event.

Trigger

Specific time before an event has occurred.

Workflow

1.) User favorites an event 2.) User specifies the amount of time before an event they want to be notified before ex. 1 day, 3 hours, 1 hour, 15 minutes, 1 minute, etc. 3.) Once specified time occurs, the system sends a notification/email to the user re-notifying them about the event

Alternative Workflow

1.) User favorites an event 2.) User does not send a notification preference, and thus the system notifies them the default amount of time before the event begins with a notification/email.

Dependent Design Use cases

23

Design Workflow

  1. The front end shall display buttons designating potential notification times: 1 day, 3 hours, 1 hour, 15 minutes, and 1 minute.
  2. The backend shall format an email containing the name, host, description, date, and time of the event that was favorited when a designated time is reached.
  3. The controller shall query the database for the email addresses of all users who have favorited the event and selected the designated time.
  4. The backend shall send the formatted email to all emails retrieved from the query.

    Design Alternative Workflow

    None.

ehom12 commented 3 years ago

old:

Requirements