Skip to content

This is an authentication system for signup and login with an email verification.

License

Notifications You must be signed in to change notification settings

Saicharan0662/auth-nodejs

Repository files navigation

Node.js/Express.js Authentication system

This is an authentication system for signup and login with an email confirmation.
It uses nodemailer to send confirmation email.

Set-up

Create .env file and add the following values:

  1. connection string (mongo-uri)
  2. jwt-lifetime
  3. jwt-secret string
  4. server-email -> from which email will be send.
  5. server-password -> password for that email.

Note: You need to allow less secure app access from account setting (gmail) -> security -> allow less secure app access
Then:

npm install && npm start

Contributing

Pull requests are welcome.

git clone <url>
git checkout -b <your branch>

After working on it.

git add .
git commit -m <commit message>
git push origin <your branch>

About

This is an authentication system for signup and login with an email verification.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published