Sahil's Awesome Tests For Quick Revision:
- ❤️ bcrypt tests: bcrypt-jwt-unit-tests/bcrypt.ts
- ❤️ jwt tests: bcrypt-jwt-unit-tests/jwt.ts
Others:
- Src: https://github.com/WebDevSimplified/JWT-Authentication
- Video: https://www.youtube.com/watch?v=mbsmsi7l3r4
Folder structure ?
- I changed some variable namings and path names but logic is same as Kyle used!
- I changed more things in that while experimenting with refresh-token management.
- TODO: Good article - https://www.bezkoder.com/node-js-jwt-authentication-mysql/