foundation and non profit management
Endpoints
-
Create Foundation
a. post: localhost:8080/foundation b. body {"name": "foundation name", "email": "foundation@gmail.com"}
-
Create Nonprofit a. post: localhost:8080/nonprofit b. body {"name": "non profit name", "email": "nonprofit@gmail.com"}
-
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 ["nonprofit1@gmail.com","nonprofit2@gmail.com"]