user-authentication-with-jwt:使用 JSON Web Tokens 对用户执行注册、登录、身份验证和授权的快速 API

时间:2021-05-29 17:29:21
【文件属性】:
文件名称:user-authentication-with-jwt:使用 JSON Web Tokens 对用户执行注册、登录、身份验证和授权的快速 API
文件大小:30KB
文件格式:ZIP
更新时间:2021-05-29 17:29:21
JavaScript 用户身份验证与 jwt 使用 JSON Web Tokens 对用户执行注册、登录、身份验证和授权的快速 API 设置 使用“npm install”安装节点模块 在主目录上创建一个.env文件,然后添加以下环境变量:SECRET_KEY,DB,NODE_ENV 使用“npm run start”运行应用程序
【文件预览】:
user-authentication-with-jwt-main
----models()
--------user.js(533B)
----auth()
--------verifyToken.js(592B)
----controller()
--------users.js(2KB)
--------index.js(205B)
----app.js(855B)
----README.md(343B)
----.gitignore(26B)
----bin()
--------www(2KB)
----routes()
--------auth.js(294B)
--------index.js(247B)
----package-lock.json(80KB)
----package.json(488B)

网友评论