Skip to content

CRC Cards

azimukith edited this page Oct 15, 2024 · 20 revisions

Main UI

StartUpActivity

Responsibilities Collaborators
Startup page of app
Determines whether current device has a user AdministratorDB, EntrantDB, OrganizerDB
Directs to profile creation (if user does not exist)
Directs to Homepage (if user exists) MainActivity
Displays sign up button

PickRoleActivity

Responsibilities Collaborators
Allows user to choose Organizer UserDB, OrganizerDB, EntrantDB, AdministratorDB
Allows user to choose Entrant
Allows user to choose Administrator
Once role is picked, redirects to SignUpActivity SignUpActivity

SignUpActivity

Responsibilities Collaborators
Allows user to sign up UserDB
Allows user to create username PickRoleActivity
Allows user to add name
Allows user to add email
Allows user to add phone number
Allows user to add profile picture ProfileImageDB

MainActivity

Responsibilities Collaborators
Display Homepage SignUpActivity
Shows pages that create, join, view events Entrant, Organizer, Administrator
Shows edit profile page User
Shows notification page Notifications

Administrator Section

AdminActivity

Responsibilities Collaborators
Allows user to browse profiles
Allows user to browse events EventDB

AdminEventActivity

Responsibilities Collaborators
Display event info
Allows user to delete events EventDB

AdminUsersActivity

Responsibilities Collaborators
Display users of the app UserDB

AdminManageUserActivity

Responsibilities Collaborators
Display user information
Allows user to delete user UserDB

AdminImageActivity

Responsibilities Collaborators
Displays images uploaded to the app
Allows user to delete image EventImageDB

User Section

UserProfileActivity

Responsibilities Collaborators
Display profile picture ProfileImageDB
Display username User
Display name
Display phone number
Display email
Displays edit profile button
Display notification settings Notification

EditUserActivity

Responsibilities Collaborators
If no profile picture, display initials
Displays edit profile picture EditUser
Allows user to remove profile picture
Allows user to update name UserDB
Allows user to update phone number
Allows user to update email

Attendee/Entrant Section

AttendeeHomeActivity

Responsibilities Collaborators
Displays joined events EventDB
Allows user to check event info QRcode, QRcodeDB
Allows user to scan a QR code ScannedEvent

ViewEventActivity

Responsibilities Collaborators
Displays event user has joined EventDB, UserDB
Allows user to leave waitlist

ScannedEvent

Responsibilities Collaborators
After user scanned QR code, displays event info QRcode
Allows user to join waitlist

AttendeeWinActivity

Responsibilities Collaborators
Gives the option to accept/decline invitation

AttendeeLoseActivity

Responsibilities Collaborators
Gives the option to redraw in case a winner declines invitation

AttendeeScanActivity

Responsibilities Collaborators
Displays event info
Allows user to scan QR code

Organizer Section

EditEventActivity

Responsibilities Collaborators
Allows user to edit their event EventDB
Allows user to delete their event

ViewEntrants

Responsibilities Collaborators
Allows user to draw entrants from waiting list
Allows user to browse entrants EntrantDB
Allows user to remove entrants
Allows user to draw a replacement entrant from waiting list if someone rejects
Displays cancelled entrants
Displays entrants that did not sign up

CreateEventActivity

Responsibilities Collaborators
Allows user to create event name
Allows user to create event info
Allows user to create event date
Allows user to create event poster
Allows user to create event location
Allows user to set entrant capacity
Generates QR Code QRcode

EventDescriptionActivity

Responsibilities Collaborators
Displays event info after creation CreateEventActivity
Allows user to confirm their event EventDB

Classes

User

Responsibilities Collaborators
Contains name
Contains phone number
Contains email
Contains gender
Contains age
Recognizes device ID ***
Add/Remove profile picture

Notifications

Responsibilities Collaborators
Invitations
Spot opens up for lottery system (sort of like eClass shopping cart)
Removed from event Administrator
Win/Lose lottery
Confirmation for entering event event

Organizer

Responsibilities Collaborators
Create events Event, Event DB
Set requirements Event
Image upload (poster)
Generate QR Codes
View Entrants
Send notifications Notification
Verify geolocation (optional)

Administrator

Responsibilities Collaborators
Browse events User
Remove events EventDB
Browse profiles EntrantDB
Remove profiles OganizerDB
Browse images
Remove images ProfileImageDB
Remove facilities that violate app policy EventImageDB

Entrant

Responsibilities Collaborators
Join/Unjoin waiting list Event
Receive/Opt out of notifications Notification
Sign up/Decline if selected for event User

Event

Responsibilities Collaborators
Contains event information Organizer
Contains event poster Notification
Manages event QR code

QRcode

Responsibilities Collaborators
Generates QR Code QRcodeDB
Directs user to event ScannedEvent

EventImage

Responsibilities Collaborators
Image relating to Events Event, EventImageDB

ProfileImage

Responsibilities Collaborators
Image relating to Profile pics User, ProfileImageDB

Databases

EventDB

Responsibilities Collaborators
Store Events in FireBase Event
Add Events Organizer
Remove Events Organizer, Administrator

EntrantDB

Responsibilities Collaborators
Store all Entrants Entrant
Add Entrant Entrant
Remove Entrant Entrant, Administrator

QRcodeDB

Responsibilities Collaborators
Store all QR codes QRcode
Add QR code Organizer
Remove QR code Organizer

OrganizerDB

Responsibilities Collaborators
Store all Organizers
Add Organizer Organizer
Remove Organizer Organizer, Administrator

AdministratorDB

Responsibilities Collaborators
Store all Administrators Administrator
Add Administrator
Remove Administrator

EventImageDB

Responsibilities Collaborators
Store all Event Images EventImage
Add Event Images Organizer
Remove Event Images Organizer, Administrator

ProfileImageDB

Responsibilities Collaborators
Store all Profile pics ProfileImage
Add Profile pics User
Remove Profile pics User, Administrator