DEV Community

Discussion on: How to implement email functionality with Node.js, React.js, Nodemailer, and OAuth2

juansebastianm profile image
Juan Sebastián Mendoza

Hey! could you please tell me how you deployed it to Heroku?
I have the frontend on Netlify and when I try to deploy all the code related to express, nodemailer and all that, the deployment fails.

Thread Thread
kpierrelys profile image

Hey Juan I am not to familiar with netlify but heres is a blog post breaking it down:

Let me know if that works.

There is also another way to deploy your server (node.js). I haven't tried this way yet but this way seems a lot less complicated. Check out this video for the step by steps: fast forward to 14:55 where he starts explaining how to deploy your server.

Hope this helps!