Skip to content

Notifications - I #85

@ranimuma

Description

@ranimuma

Create a Get Notification API and expose it through API Gateway:

Endpoint: GET /api/notifications

Description: Retrieves all notifications relevant to the current user, including Help Match Requests and General Notifications.

Request Parameters: Path Param: userId
Response Body:
{
"type": string,
"title":string,
"message":string,
"date": Date
},
Example Response:
[
{
"type": "Volunteer",
"title": "New Match Request",
"message": "You have new Volunteer match request in Logistics",
"date": "Mar 15, 2023, 10:30 AM"
},
{
"type": "helpRequest",
"title": "Educational Help",
"message": "Need help with Logistics",
"date": "Dec 16, 2023, 10:30 AM"
}
]

As of now create the flow for the API and send the GET request.
Once the communication between request microservice is done.We need to get the notifications from request microservice for help requests and in volunteer microservice we will be having notification table for general notifications.Both joint we should be able to send it to the API response.

TBD:

  1. Request microservice sending Help Match Requests
  2. Notification table with database team

Metadata

Metadata

Labels

enhancementNew feature or request
No fields configured for Feature.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions