serverless-plugin-graphiql:使用graphiql为graphql服务器创建http端点

时间:2021-02-05 17:41:40
【文件属性】:
文件名称:serverless-plugin-graphiql:使用graphiql为graphql服务器创建http端点
文件大小:55KB
文件格式:ZIP
更新时间:2021-02-05 17:41:40
graphql serverless graphiql ServerlessJavaScript 无服务器插件图形 为graphiql和您的graphql处理程序运行本地http服务器 用法 请参阅/example目录以了解操作的简便性! 脚步 创建一个名为graphql的lambda函数,以实现graphql服务器 将serverless-plugin-graphiql添加到无服务器插件数组 sls graphiql服务器项目的根目录运行sls graphiql命令 在浏览器中访问localhost:8000/graphql以使用graphiql 关于 该插件创建两个http端点: GET /graphql POST /graphql graphiql运行后,您还可以通过cli发出请
【文件预览】:
serverless-plugin-graphiql-master
----.travis.yml(47B)
----.eslintrc.yml(25B)
----example()
--------package.json(275B)
--------foo()
--------.npmignore(86B)
--------serverless.yml(747B)
----package.json(972B)
----test()
--------unit()
----server.js(3KB)
----index.html(5KB)
----package-lock.json(211KB)
----.gitignore(56B)
----plugin.js(1KB)
----README.md(1KB)
----.eslintignore(8B)

网友评论