DEV Community

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

Collapse
 
kpierrelys profile image
Kpierrelys

Hey Jared, love this blog post! It was very helpful. Is there any configuration changes I need to do when deploying a project after implementing this? I'm deploying a project to heroku using this. Let me know! thanks

Collapse
 
jlong4223 profile image
Jared Long

Hey thanks for checking it out and glad it helped! Everything should work as expected . Just don't forget to set your env variables for heroku :)

Collapse
 
kpierrelys profile image
Kpierrelys

Thanks Jared I was able to deploy 🙌🏽

Thread Thread
 
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.
stackoverflow.com/questions/704422...

Thread Thread
 
kpierrelys profile image
Kpierrelys

Hey Juan I am not to familiar with netlify but heres is a blog post breaking it down: dev.to/lindakatcodes/a-beginners-g...

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: youtu.be/ENrzD9HAZK4 fast forward to 14:55 where he starts explaining how to deploy your server.

Hope this helps!