Skip to content

Notification System #522

@avayedawadi

Description

@avayedawadi

Context

Requirements

  • Have an API endpoint for the individual notification that sends a one off email (for all tickets look at designs for necessary fields to include)

    • These notifications can be scheduled for the future, so use the Netlify Scheduled Functions mentioned below to send these
    • You will need to create a new table of scheduled functions
  • Have an API endpoint for recurring notifications

    • This will require adding in a new table in the database to store these recurring notifications
    • Then, you will have to use Netlify Scheduled Function to act as a cron job to send these recurring notifications
  • You will also have to create a table for notification history, that will contain ALL the history of notifications sent

    • And a corresponding endpoint to get this total history (paginated please)
  • Additionally, you will need an endpoint to get all scheduled notifications

    • This should be all the one-off notifications that are scheduled, and the NEXT occurrence of the scheduled notification
  • For sending notifications, everything should hopefully be used with the juno emails that infra has created, but if not possible, just fall back to using SendGrid

Acceptance Criteria

  • Notification system backend

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions