implement '/newsletter/sub' route
sgnl opened this issue · 1 comments
sgnl commented
- accepts post from front-end form
- add email to database
- check for email in database before adding (upsert hack ->
updatedExisting
prop)
- check for email in database before adding (upsert hack ->
- send email to subscriber
- send email to main account for this project
Front end work:
- Form Submission
- message when successful
- Hide Form -> store cookie for this ui state
- message when bad
- handle dupe email message
- handle no network message
- handle ???
- message when successful
sgnl commented
🔥 moving forward