Web-Dev-Path / web-dev-path

The Web Dev Path platform. Progressive Web App (PWA). Next.js rules!
https://webdevpath.co
GNU General Public License v3.0
33 stars 11 forks source link

Discovery: Contact Us form functionality #127

Closed mariana-caldas closed 2 years ago

mariana-caldas commented 2 years ago

We need to implement the functionality to the ContactUsForm component rendered on the Contact Us page. To do that, we need to find out the best way of doing that. That's why this card is labeled as a discovery one since the initial goal is not implementing the functionality itself but researching and reporting approaches to do so.

This issue is related to #126, but it is not blocked by it, so it can be initiated immediately.

Technical details:

Please remember that once you assign this task to yourself, you'll need to complete it in 15 days.

Acceptance criteria:

cherylli commented 2 years ago

Assuming you want to send the contact form details to an email, it seems using next.js serverless api routes and sendgrid is the standard

https://betterprogramming.pub/how-to-create-a-working-contact-form-in-next-js-459d1fc992ea https://www.freecodecamp.org/news/how-to-build-a-working-contact-form-with-sendgrid-and-next-js/

the only variable is which email service to use

In this article, they use SendGrid, which is a popular service for this purpose, and they have a free tier with restrictions which mostly don't matter to us.

mariana-caldas commented 2 years ago

Assuming you want to send the contact form details to an email, it seems using next.js serverless api routes and sendgrid is the standard

https://betterprogramming.pub/how-to-create-a-working-contact-form-in-next-js-459d1fc992ea https://www.freecodecamp.org/news/how-to-build-a-working-contact-form-with-sendgrid-and-next-js/

the only variable is which email service to use

In this article, they use SendGrid, which is a popular service for this purpose, and they have a free tier with restrictions which mostly don't matter to us.

Yep, we're sending the contact form details to an email and I like how straightforward this approach is, @cherylli ! 🚀 I think I'll wait a few more days to see if someone else has another idea or foresee any problems and, then, I'll create a SendGrid account to get the API key we need! 🙌🏼