foundation and non profit management
Endpoints
-
Create Foundation
a. post: localhost:8080/foundation b. body {"name": "foundation name", "email": "[email protected]"}
-
Create Nonprofit a. post: localhost:8080/nonprofit b. body {"name": "non profit name", "email": "[email protected]"}
-
Add user a. post: localhost:8080/user b. body {"name": "admin", "password": "pass"}
-
send email to nonprofits a. post: localhost:8080/nonprofit/sendEmails b. body ["[email protected]","[email protected]"]