Closed eyeshield2110 closed 1 year ago
TODO: Write the contract (aka agree on function name and json format of message)
User alert preferences:
User scheduled weather notification preferences:
[ "montreal,qc,canada", "brisbane,australia" ]
[ { "montreal,qc,canada": [ "08:00", "15:05" ] }, { "brisbane,australia": [ "12:55" ]} ]
alert_montreal
schedule_08:00_montreal
TODO: Write the contract (aka agree on function name and json format of message)
Requirements
Design for how alert and notification preferences is stored in User service
User alert preferences:
User scheduled weather notification preferences:
Firebase queries the Notification needs to do on the User data
Format of Pusher Beam Interests (doesn't need to be stored in User service/Firebase)
alert_montreal
schedule_08:00_montreal