Skip to content

sheelah/react-form-submission-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Form Submission Demo

This project was bootstrapped with Create React App.

This is a demo of a technique to send email from web form submissions from a web application without needing a backend server.

To see the accompanying blog post, visit https://sheelahb.com/blog/how-to-send-email-from-react-without-a-backend/. NOTE: this code has been migrated to use React functional components & hooks. If you'd like to instead view the previous implementation that uses React class components and setState(), see this branch.

Running the app

Install dependencies: npm i

Start the dev server: npm start

Overriding environment variables: REACT_APP_EMAILJS_USERID=foo npm start

About

Demo of a React-based form submission that sends email

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published