ucsdeventhub / EventHub

4 stars 0 forks source link

use case: adding org events #22

Open ear7h opened 3 years ago

ear7h commented 3 years ago

Description

The user adds any upcoming event and its details to their org profile page.

User Goal

The user wants people to know about their new event.

Actor

Club admin

Dependent Use Cases

19

20

Requirements

The system shall allow an admin to add events and corresponding details to their organization's page.

Pre-Conditions

The club admin must have org access and must be on their org profile page.

Post-Conditions

The new event has now been added to the application.

Trigger

The user wants students to know about and attend the event.

Workflow

  1. The user shall click on New Event on the org profile page.
  2. The system shall display a form with required event details that need to be entered.
  3. The user shall enter all the required details.
  4. The user shall click on the Submit button.
  5. The system shall create an event page and add it to the org's profile page.

Alternative Workflow

None.

Dependent Design Use cases

19

20

Design Workflow

  1. The user shall click on New Event on the org profile page.
  2. The frontend shall render a form that requires the user to enter all fields of an event object.
  3. The user shall enter all event details and click Submit.
  4. The frontend verifies whether the data entered by the user is valid. When it is, it shall send a request to the React controller.
  5. The React controller shall instruct the backend to create a new event object and store it in the SQL database.
  6. The frontend shall display the newly created event page to the user, whilst adding it on the org's profile page and making it available if searched.

Design Alternative Workflow

None.

Bigoni commented 3 years ago

Seems to be working