Sahil's Awesome Tests For Quick Revision:
- ❤️ bcrypt tests: ./bcrypt-jwt-unit-tests/bcrypt.ts
- ❤️ jwt tests: ./bcrypt-jwt-unit-tests/jwt.ts
- ⭐Example usage in FSO's Part 13: Click here
- ⭐For proper error handling refer qr-project.
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/