没有合适的资源?快使用搜索试试~ 我知道了~
json-server-auth:JSON服务器的身份验证和授权流程
共25个文件
ts:11个
json:6个
md:2个
需积分: 47 2 下载量 19 浏览量
2021-05-07
23:45:48
上传
评论
收藏 109KB ZIP 举报
温馨提示
:locked_with_key: JSON服务器身份验证 JWT身份验证中间件 因为您还需要假冒的身份验证和授权流程才能进行原型制作。 入门 同时安装JSON服务器和JSON服务器认证: # NPM npm install -D json-server json-server-auth # Yarn yarn add -D json-server json-server-auth 使用users集合创建db.json文件: { " users " : [] } 启动JSON服务器(使用JSON服务器Auth作为中间件): json-server db.json -m ./node_modules/json-server-auth # with json-server installed globally and json-server-auth installed locally :loudspeaker: 可是等等 ! 为
资源推荐
资源详情
资源评论
收起资源包目录
json-server-auth-master.zip (25个子文件)
json-server-auth-master
README.MD 8KB
package.json 2KB
tslint.json 587B
jest.config.js 466B
LICENSE 1KB
src
bin.ts 3KB
__tests__
postman.http 829B
shared
tools.ts 672B
guards.ts 2KB
cli.ts 959B
users.ts 3KB
guards.ts 6KB
types.d.ts 635B
users.ts 4KB
constants.ts 338B
index.ts 551B
shared-middlewares.ts 1KB
tsconfig.json 2KB
.prettierrc.yml 218B
.gitignore 455B
CHANGELOG.md 3KB
yarn.lock 238KB
tsconfig.build.json 196B
.vscode
settings.json 320B
extensions.json 126B
共 25 条
- 1
资源评论
杜佳加
- 粉丝: 41
- 资源: 4625
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功