I’m trying to implement a for my portfolio using and but I am new to any backend stuff. I have the client side 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 side code to interact with the server side. On the server side all that’s really going on is I’ll have one api endpoint that will handle sending the form 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?

submitted by /u/negativetrend
[comments]



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

LEAVE A REPLY

Please enter your comment!
Please enter your name here