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)