You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Search through to return all array of emails the keywords that match keyword in set
Return [[Emails], [emails]]
Returning Data:
Combine arrays → {Emails} - set of arrays
Send emails:
Use AWS_SES sendEmail()
POST /searches (Adding keywords)
Incoming data:
Keywords
Email
Store in DB:
In Searches table:
Look up keyword, add email to array if keyword exist:
If email already in keyword, ignore
If keyword not in table, add keyword + add email to new array
DELETE /searches (removing keywords):
Incoming data:
Keywords
Email
Remove from DB:
In Searches table:
Look up keyword, if it exists, look for the corresponding email and remove it from the array
If keyword not in table ⇒ do nothing
GET /searches/:email
Incoming data:
email
Search in DB:
In Searches table:
For each keyword, for each array in keyword, if email in array:
Return Keyword
Store all the returned keywords in an array
Return array of keywords
The text was updated successfully, but these errors were encountered:
NwinNwin
changed the title
Feature: Email subscription for certain keywords or item type
feat: Email subscription for certain keywords or item type
Jan 13, 2025
Proposed Solution:
To do:
POST /items:
Incoming data:
Process Data:
Search Data:
Returning Data:
Send emails:
POST /searches (Adding keywords)
Incoming data:
Store in DB:
DELETE /searches (removing keywords):
Incoming data:
Remove from DB:
GET /searches/:email
Incoming data:
Search in DB:
The text was updated successfully, but these errors were encountered: