>> UML Diagram
The UML class diagram depicts RedCell’s layered architecture, with the Models layer containing core classes (User, ConcreteUser, Donor, Facility, Donation, Request) and enums (Component, DonationStatus, DonorStatus), the Controllers layer managing user interactions (DonorDashboardController, RequestBloodController) and working with DbHelper in the DatabaseHelper layer for database operations, and the Views layer where RedCellApp serves as the entry point to initialize the UI, with inheritance and associations mapping how all components interact.
Workflow Diagram <<
The workflow diagram illustrates the main user journeys within the RedCell application, starting with authentication where users either log in successfully and are directed to a role-specific dashboard (Donor or Facility) or encounter a login error. From the Donor Dashboard, users can initiate a donation process by completing a form that is submitted through DbHelper.createDonation, while from the Facility Dashboard, users can initiate a blood request via DbHelper.createBloodRequest. Successful submissions update the relevant requests or donations, with data retrieved from DbHelper and displayed on the dashboards, while any errors in donation or request processes return users to their dashboards.
Application Interface Previews