/jwt-authentication

using jsonwebtoken npm module to build stateless authentication

Primary LanguageJavaScript

jwt-authentication

---- using jsonwebtoken npm module to build stateless authentication

1.sign token

Screen Shot 2019-04-09 at 10 33 12 PM

2. verify token

Screen Shot 2019-04-09 at 10 34 27 PM