Sending verification OTP to user-email with mailgun in a React, Node and Mongo App.

I will implement a feature to an existing simple MERN stack app, to send an email to the visitor of a site containing a randomly generated unique code which the visitor will need to verify to view a document on the site.

Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
async.waterfall([], function (err) {});
async.waterfall([
function firstStep(done) {
done(null, 'Value from step 1');
},
function secondStep(previousResult, done) {
console.log(previousResult);
done(null);
}
],
function (err) {});
Image for post
Image for post

Written by

DataScience | ML | 2x Kaggle Expert. Ex Fullstack Engineer and Ex International Financial Analyst. https://www.linkedin.com/in/rohan-paul-b27285129/

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store