Skip to content

Conversation

@Kuruyia
Copy link
Collaborator

@Kuruyia Kuruyia commented Dec 13, 2023

This implements the notification service in the backend. The following methods were implemented to be used through the message broker:

  • sendTo : sends a notification to the specified user, this is non-blocking and is meant to be used without waiting for a reply
  • findAllOfUser : gets all the notifications of the specified seasonworker, corresponds to the GET /notifications API route
  • deleteAllOfUser : deletes all the notifications of the specified seasonworker, corresponds to the DELETE /notifications API route

Other changes

A new API route has been added, DELETE /notifications, to clear all the notifications of the currently logged-in user.

@Kuruyia Kuruyia added the enhancement New feature or request label Dec 13, 2023
@Kuruyia Kuruyia self-assigned this Dec 13, 2023
Copy link
Owner

@thomas-mauran thomas-mauran left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice 👍

@Kuruyia Kuruyia merged commit ace121a into main Dec 13, 2023
@Kuruyia Kuruyia deleted the feat/notification branch December 13, 2023 22:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants