rsvp urls and notification added#213
rsvp urls and notification added#213sahilkashyap64 wants to merge 1 commit intolowercasename:mainfrom
Conversation
|
So just to be clear, i'm not involved with the project, just contributed some PRs in the past, so my review isn't actually going to change things.
|
Admin also adds the attendee sometimes. this is the scenerio i had in mind
the notificationRSVP might help host to keep track of user, and maybe host can later catch up with them asking them, was their particular reason for not joing or anything else they may want to communicate |
|
So there's already https://{{domain}}/event/{{eventID}}/unattend/{{removalPasswordHash}}, so i don't think the new endpoint is needed As for clicking attending after being added / joinning, thats a pretty big design decision so @lowercasename would have to speak up first but I personally think if an admin adds them, they already know they are attending. It might make sense to have an invite api, which would have the attend/not attend option emailed to them, but thats a different feature and a ticket to talk about it. |
Functionality of RSVP
Generate accept and decline url for RSVP
ACCEPTandDECLINEurl. removalPassword is used to track the userviews/emails/addEventAttendee/addEventAttendeeHtml.handlebarsGET url to confirm or decline the RSVP
GET:/event/:eventID/rsvpHost receives notification
views/emails/rsvpNotification/rsvpNotificationHtml.handlebarsFor local testing
generate account for SMTP local here https://ethereal.email/



add this in config/config.toml
[nodemailer]
smtp_server = "smtp.ethereal.email"
smtp_port = "587"
smtp_username = ".x@ethereal.email"
smtp_password = "xx"