ucsdeventhub / EventHub

4 stars 0 forks source link

use case: email notifications for new org events #26

Open ear7h opened 4 years ago

ear7h commented 4 years ago

Description

When a club admin adds a new event to a club's page, all students that have favorited a club will receive an email about that event.

User Goal

To be notified of new events for clubs that that a student cares about.

Actor

Student

Dependent Use Cases

Requirements

The system shall notify users by email when an organization that they have favorited adds an event.

Pre-Conditions

An org adds an event while a student has favorited the org page.

Post-Conditions

Trigger

A new event is added from Facebook or by a club admin inside of the app.

Workflow

  1. The system shall add the specific event information to a pre-made email template.
  2. The system shall send off the email to the list of students that have favorited the club.
  3. The user can open the email from the inbox to see more information about the event.

Alternative Workflow

None

Dependent Design Use cases

11

Design Workflow

  1. The backend shall format an email containing the name, host, description, date, and time of the event that was added.
  2. The controller shall query the database for the email addresses of all users who have favorited the org.
  3. The backend shall send the formatted email to all emails retrieved from the query.

Design Alternative Workflow

None.

ehom12 commented 4 years ago

old:

Requirements

Event objects in database Club favoring functionality