david0521 / swedenUniServer

The backend part of the swedenUni
0 stars 0 forks source link

#38 Authorization #39

Closed david0521 closed 4 months ago

david0521 commented 4 months ago

About

This commit will add an authentication method to authorize and authenticate users by using bcrypt, JWT, and passport.js. Users' password will be saved as a hashed format, keeping it safe from malicious attacks.