react-confirm-email
react-confirm-email copied to clipboard
Email confirmation with React and Node
React Confirm Email
Demo
Medium post
Email Confirmation with React and Node
Getting Started
git clone https://github.com/funador/react-confirm-email.git
cd react-confirm-email/client
npm i && npm start
// open another terminal tab
cd react-confirm-email/server
npm i && npm run dev
// open another terminal tab (if running mongo locally)
mongod
To run MongoDB
Create a new gmail account.
You can sign up for a new gmail account here. Afterwards you will need to plug the credentials for your new account into a .env file on the server.
// server/.env
[email protected]
MAIL_PASS=your_password
Very Important!!!
In order for your newly created account to be able to send emails on your behalf (and allow this application to run), you will likely need to allow 'Less secure app access' on your new gmail account as described here.
Issues
Something not working? Please open an issue or submit a PR.