Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

feat: add alerts sse notification endpoint #227

Merged
merged 3 commits into from
Dec 9, 2024
Merged

Conversation

peppescg
Copy link
Contributor

@peppescg peppescg commented Dec 6, 2024

Added SSE endpoint for FE alert notification.
After an alert saves into DB, a message is added to a queue, and the sent to FE through an event stream endpoint alerts_notification. The FE will use this event for showing a browser notification and reload the application.

@peppescg peppescg self-assigned this Dec 6, 2024
@peppescg peppescg force-pushed the add-notification-sse branch from 24d2f07 to af46a59 Compare December 9, 2024 11:45
@peppescg peppescg merged commit 1805096 into main Dec 9, 2024
3 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants