SaintAngeLs / distributed_minispace

Microservices based Social Network -- Distributed .Net Blazor solution. MiniSpace is a microservices-based social network designed to enhance student life. Built with .NET Blazor, it enables event management, social interactions, and administrative oversight, providing a comprehensive platform for students and event organizers.
https://minispace.itsharppro.com
Apache License 2.0
6 stars 0 forks source link

(#125) notifications service implementation -- external events arrangement. #140

Closed SaintAngeLs closed 1 month ago

SaintAngeLs commented 1 month ago

Providing the notification service implementation.

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 33.63%. Comparing base (f9d98de) to head (5832a3f). Report is 2 commits behind head on dev.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## dev #140 +/- ## ======================================= Coverage 33.63% 33.63% ======================================= Files 65 65 Lines 877 877 Branches 82 82 ======================================= Hits 295 295 Misses 560 560 Partials 22 22 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

eggwhat commented 1 month ago

Wouldn't it be easier/better to create notifications by using external events and their handlers? I.e. if we want to create a notification that someone has invited you to be your friend, utilize a FriendInvited event from friends service.

SaintAngeLs commented 1 month ago

This PR will be updated with the full implementation of the external events subscription for other friends 'operations'.

SaintAngeLs commented 1 month ago

In the next PR update I will provide the blazor application update regarding to the notifications service.

an2508374 commented 1 month ago

I resolved conflict merge which appeared in Startup.cs file after adding Notifications and Reactions Services there.