安装

我们需要两个依赖项:

  1. bcrypt for encryption npm install bcrypt --save
  2. JSON Web token npm install jsonwebtoken --save