There are specific requirements for this POST route:
- E-mail uses Gmail service account (provided by Node-Mailer)
- Provide user feedback in real time (res.send)
- Rate limit user's ability to POST over a defined interval (timestamps)
Lets create our model. This collection will store our users submissions by session id.
Now lets define our app.post function.
No comments:
Post a Comment