nodeMailer server, which is run on Heroku + any remote mail-service.
Simply follow these steps:
- Register at Heroku
- Upload this code to new instance on Heroku
- Add to Heroku instance your env_variables from index.js: process.env.VARS in dashboard
- Add any email service credential (without second factor) to env_variables
- Deploy code to Heroku instance
- Apply CORS to Heroku instance, if needed
- Run POST-requests from your frontEnd to Heroku instance with certain data in request.body:
- name
- phone
This project is created for boilerplate reasons, so feel free to use or modify this tpl in your work. 👍