The VoyageIt Node.js project is a comprehensive and feature-rich travel management system designed to simplify and enhance the travel experience. With a wide range of functionalities, including sending email, downloading files, login system, booking system, and much more.
0
stars
0
forks
source link
Implement email confirmation feature on user registration #9
This PR implements the email confirmation feature on user registration in the VoyageIt Node.js project. The feature ensures that the user's email address is verified and enhances the security of the system.
Summary of Changes
Added a new function in the auth.js controller to send a confirmation email after user registration.
Created a new Pug template confirmation.pug in the views/email directory for the confirmation email.
Added nodemailer as a dependency in package.json to handle email sending.
Added configuration placeholders for the email service in the .env.example file.
Updated the README.md file to include instructions for configuring the email service.
Please review and merge this PR to enable the email confirmation feature on user registration.
Fixes #8.
To checkout this PR branch, run the following command in your terminal:
git checkout sweep/email-confirmation
To get Sweep to edit this pull request, leave a comment below or in the code. Leaving a comment in the code will only modify the file but commenting below can change the entire PR.
Description
This PR implements the email confirmation feature on user registration in the VoyageIt Node.js project. The feature ensures that the user's email address is verified and enhances the security of the system.
Summary of Changes
auth.js
controller to send a confirmation email after user registration.confirmation.pug
in theviews/email
directory for the confirmation email.nodemailer
as a dependency inpackage.json
to handle email sending..env.example
file.Please review and merge this PR to enable the email confirmation feature on user registration.
Fixes #8.
To checkout this PR branch, run the following command in your terminal:
To get Sweep to edit this pull request, leave a comment below or in the code. Leaving a comment in the code will only modify the file but commenting below can change the entire PR.