没有合适的资源?快使用搜索试试~ 我知道了~
authentication-service:基于Redis的认证服务
共17个文件
js:12个
json:2个
gitignore:1个
需积分: 5 0 下载量 118 浏览量
2021-06-22
07:40:29
上传
评论
收藏 11KB ZIP 举报
温馨提示
认证服务 要求 1) Redis have to be installed and start on port 6379 安装 $ npm install 开始 $ node app.js 测试 $ npm test 界面 通过代码验证#### // request: $ curl -X POST -H "Content-Type: application/json" -d '{ "authCode":"0000" }' http://127.0.0.1:3008 // success response: { "error": false, "token": "5383fb399fc99e2862b22129", "restaurantId": "fake-restaurant", "tables": [ {
资源推荐
资源详情
资源评论
收起资源包目录
authentication-service-master.zip (17个子文件)
authentication-service-master
api
restaurateur.js 2KB
.jshintrc 1KB
.gitignore 19B
app.js 377B
.jscs.json 26B
package.json 780B
bootstrap.js 4KB
Gruntfile.js 1KB
README.md 1KB
config
index.js 566B
module_paths.js 345B
modules
token.js 783B
routes
tokens.js 3KB
index.js 704B
test
integration
routes-restaurants.spec.js 6KB
routes-tokens.spec.js 2KB
spechelper.js 37B
共 17 条
- 1
资源评论
LeonardoLin
- 粉丝: 16
- 资源: 4659
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功