Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Email Subscription system #96

Open
rajatkb opened this issue May 7, 2020 · 0 comments
Open

[Feature] Email Subscription system #96

rajatkb opened this issue May 7, 2020 · 0 comments
Labels
enhancement New feature or request gssoc20 GSSOC label for gscco20 tag hard GSSOC label for beginner tag

Comments

@rajatkb
Copy link
Owner

rajatkb commented May 7, 2020

Create a new Controller and endpoint to trigger a mail to the respective, Email provided through the rest end point. So a user would be able to hit the rest end point /subscribe/[email protected] with a payload of filters and will get updates of whenever new conferences are entered into the system or updates to existing one's are done.

Describe the solution you'd like
One hitting the rest endpoint the controller would register a new email along with it's respective filters. There will be a new listener attached to changeStream events and the respective event data will be analyzed based on filters for emails. Then a notification for these mails will be sent.

Additional context

REQUIREMENTS

  • Create a Proper extensible Mongo Schema for representing an email. (Mongo Model)
  • Create proper filter parameters for the payload of registering an email. ( Controller / Service)
  • Create a new Listener for filtering out emails for individual event of new Conference data insertion/updates. Leverage mongodb query to get the emails filtered. (Listener)
@rajatkb rajatkb added hard GSSOC label for beginner tag gssoc20 GSSOC label for gscco20 tag enhancement New feature or request labels May 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request gssoc20 GSSOC label for gscco20 tag hard GSSOC label for beginner tag
Projects
None yet
Development

No branches or pull requests

1 participant