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

Design Notification Achitecture #962

Open
MinhxNguyen7 opened this issue Apr 15, 2024 · 1 comment
Open

Design Notification Achitecture #962

MinhxNguyen7 opened this issue Apr 15, 2024 · 1 comment
Assignees
Labels
RFC Request for comment

Comments

@MinhxNguyen7
Copy link
Member

Description

  • Design the end-to-end architecture for signing up for and canceling notifications.

Requirements

  • Add and cancel notifications on a per-course basis.
  • Receive notifications in SMS (and perhaps email).

Current Notes

  • PPAPI will ping us when there's a change in the database with a list of courses that changed.
  • We might want to switch to a relational database to develop this along with auth.
@MinhxNguyen7 MinhxNguyen7 added the RFC Request for comment label Apr 15, 2024
@Douglas-Hong
Copy link
Contributor

Potential relational database schema for phone numbers and course codes:
DBSchema

Note that we might want to change the attributes for courses and users. For example, the primary key for Course should be (course_code, quarter) instead of just (course_code). Moreover, instead of setting the primary key of User to the phone number, we can set it to some user ID.

Very basic and high-level flow for notifications:
Flow

@MinhxNguyen7 MinhxNguyen7 mentioned this issue Apr 26, 2024
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RFC Request for comment
Projects
Status: In Progress 🤠
Development

No branches or pull requests

2 participants