This is an authentication system for signup and login with an email confirmation.
It uses nodemailer to send confirmation email.
Create .env file and add the following values:
- connection string (mongo-uri)
- jwt-lifetime
- jwt-secret string
- server-email -> from which email will be send.
- 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
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>