This is a full-stack web project which implements fully functional Login system with 2-step verification. It majorly uses node.js with express.js for backend development and mongo db for database management with mongoose as wrapper. Handlebars are used for server-side rendering.
Add your email-id and app password in router.js. Example:
var transporter = nodemailer.createTransport({
service: 'gmail',
auth: {
user: "abc@gmail.com",
pass: "hjdgsfojfegjklju"
}
}, {
from: "xyz@gmail.com",
});Clone the project
git clone https://github.com/Vector73/Login-SystemGo to the project directory
cd <Project_name>Install dependencies
npm installStart the server
node .\index.js