This project was bootstrapped with Create React App.
This is a demo of a technique to send email from web form submissions from a web application without needing a backend server.
To see the accompanying blog post, visit https://sheelahb.com/blog/how-to-send-email-from-react-without-a-backend/.
Install dependencies:
npm i
Start the dev server:
npm start
Overriding environment variables:
REACT_APP_EMAILJS_USERID=foo npm start
Refs: https://github.com/sheelah/react-form-submission-demo
https://sheelahb.com/blog/how-to-send-email-from-react-without-a-backend/
https://dashboard.emailjs.com/
https://app.mailgun.com/app/sending/domains
https://dashboard.heroku.com/apps
https://dev.to/smithmanny/deploy-your-react-app-to-heroku-2b6f
https://devcenter.heroku.com/articles/heroku-cli
https://www.npmjs.com/package/emailjs-com
https://reactjs.org/docs/conditional-rendering.html
https://help.heroku.com/FZDDCBLB/how-can-i-download-my-code-from-heroku
https://medium.com/better-programming/using-environment-variables-in-reactjs-9ad9c5322408
https://create-react-app.dev/docs/adding-custom-environment-variables/
https://ourcodeworld.com/articles/read/497/top-10-best-ui-frameworks-for-reactjs
https://github.com/mui-org/material-ui
https://github.com/phorvicheka/reactjs-send-mail-using-emailjs-mailgun-heroku