DEV Community

Mehak Saini
Mehak Saini

Posted on

Day 23 of 365 Days of code

Fiddled with jsonwebtoken and bcrypt library of npm. Basically, created a small application to store password in an encrypted format in mongoDB using mongo's pre method. Similarly, made use of mongoose's schema.methods to define a new function and generate jwt token

Top comments (0)

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay