A complete code for authentication using passport, which can be embedded in any application.
-
Clone or Download the Repo using https://github.com/kunalkr789/Backend-Test-2
-
Set up your directory structure to point to current folder.
-
Put your gmail credentials in "config/nodemailer.js"
-
use
npm start
to start your application.