【文件属性】:
文件名称:torrents-graphql-search:使用GraphQL与Rest进行比较的Torrent搜索后端示例
文件大小:15KB
文件格式:ZIP
更新时间:2021-02-03 17:42:25
graphql koa imdb torrents KoaJavaScript
torrents-graphql-搜索
这是一个示例GraphQL项目,用于使用搜索种子
torrent /电影数据的GraphQL端点
其余端点进行比较
ES7异步/等待支持(使用koa-router 7.x和koa2)。
埃斯林特和摩卡咖啡
观看package.json中的脚本
中间件:错误,记录
Docker文件
环境环境
收缩包装用于生产
图QL
您可以使用GraphiQL浏览器文档:
REST Api
搜索电影
查找包含此字符串的所有种子
/ torrents?q = americans&type = movie
指定类型
您可以指定类型(电影/系列)
/ torrents?
【文件预览】:
torrents-graphql-search-master
----.eslintrc.json(587B)
----.gitignore(140B)
----Dockerfile(173B)
----package.json(1KB)
----src()
--------app.js(533B)
--------graphql()
--------middleware()
--------services()
--------globals.js(101B)
--------config()
--------common()
--------controllers()
--------routes()
----.travis.yml(80B)
----README.md(876B)
----test()
--------test.globals.js(105B)
--------status.test.js(391B)
----server.js(166B)