没有合适的资源?快使用搜索试试~ 我知道了~
apollo-federation-example:创建该项目的目的是演示如何在graphql端点中连接多个微服务,并演示如何使...
共27个文件
js:16个
json:3个
lock:3个
需积分: 12 1 下载量 43 浏览量
2021-05-04
10:06:57
上传
评论
收藏 166KB ZIP 举报
温馨提示
欢迎来到阿波罗联合会的例子 :waving_hand: 创建该项目的目的是演示如何在graphql端点中连接多个微服务,并演示如何使用JWT进行连接微服务的身份验证,从而将查询限制为仅从与每个用户关联的组织返回记录 安装 网关 cd afe-gateway npm install / yarn install 身份验证 cd afe-auth npm install / yarn install 顾客 cd afe-customers npm install / yarn install 用 在运行afe-auth和afe-gateway项目之前,必须将每个项目文件夹中的.env.example文件重命名为.env 。 在运行afe网关之前,必须运行afe-auth和afe-customers项目,以便网关正确加载微服务架构。 身份验证 cd afe-auth npm start / yarn start 顾客
资源推荐
资源详情
资源评论
收起资源包目录
apollo-federation-example-master.zip (27个子文件)
apollo-federation-example-master
afe.png 32KB
afe-auth
index.js 193B
package.json 424B
.env.example 28B
src
server
index.js 755B
domain
user
index.js 712B
organization
index.js 214B
database
index.js 754B
graphql
resolvers
user
index.js 379B
organization
index.js 373B
schemas
user
index.js 373B
organization
index.js 313B
yarn.lock 90KB
.gitignore 2KB
README.md 2KB
afe-customers
index.js 166B
package.json 374B
src
server
index.js 545B
domain
customer
index.js 309B
database
index.js 610B
graphql
resolvers
customer
index.js 531B
schemas
customer
index.js 399B
yarn.lock 87KB
afe-gateway
index.js 1KB
package.json 470B
.env.example 28B
yarn.lock 108KB
共 27 条
- 1
资源评论
Hsmiau
- 粉丝: 30
- 资源: 4653
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功