-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update&feat[]: Connect backend to frontend by adding login, registrat…
…ion, donation flow, and user page functionality, however per now it only stores data in runtime
- Loading branch information
Fredrik Marjoni
committed
Mar 19, 2026
1 parent
04080ed
commit 6901cd0
Showing
21 changed files
with
703 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 4 additions & 2 deletions
6
src/main/java/edu/group5/app/control/BrowseCardController.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,14 +1,16 @@ | ||
| package edu.group5.app.control; | ||
|
|
||
| import edu.group5.app.model.organization.Organization; | ||
|
|
||
| public class BrowseCardController { | ||
| private final MainController controller; | ||
|
|
||
| public BrowseCardController(MainController mainController) { | ||
| this.controller = mainController; | ||
| } | ||
|
|
||
| public void handleCardClick() { | ||
| System.out.println("Browse Card Clicked"); | ||
| public void handleCardClick(Organization organization) { | ||
| controller.setCurrentOrganization(organization); | ||
| controller.showOrganizationPage(); | ||
| } | ||
| } |
33 changes: 32 additions & 1 deletion
33
src/main/java/edu/group5/app/control/LoginPageController.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
47 changes: 44 additions & 3 deletions
47
src/main/java/edu/group5/app/control/SignInPageController.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.