DEV Community

loading...

Discussion on: Need Advice on React App, Contact Form

Collapse
guidovizoso profile image
Guido Vizoso

Somehow in my mind I thought you have a Next project (that's why I was so thoughtful about the static part of it). If you're using create-react-app you can make a mini Express server that only sends the email. CRA can read environment variables by default (create-react-app.dev/docs/adding-c...)

Thread Thread
gitarman profile image
Ron Holt Author

Thanks again, I'll look into that!

Forem Open with the Forem app