I’m trying to implement a for my portfolio using and but I am new to any backend stuff. I have the client done but now I need a way to send the input from the form to my email. My confusion is more on project structure and how to get my client code to interact with the server . On the server all that’s really going on is I’ll have one api endpoint that will handle sending the form data to my email. My current directory looks something like this:

portfolio/server.js portfolio/client/ react stuff here

How would I go about getting these two to interact and which project structure is best for deploying?

2; submitted by 2; /u/negativetrend

Source link
thanks you RSS link
( https://www.reddit.com/r/webdev/comments/834kb7/react_node_mailer_contact_form/)


Please enter your comment!
Please enter your name here