loopback-connector-rest:将环回连接到 REST API-源码

上传者: 42144086 | 上传时间: 2021-07-24 20:07:28 | 文件大小: 128KB | 文件类型: ZIP
环回连接器休息 概述 LoopBack REST 连接器使应用程序能够使用模板驱动的方法与其他(第三方)REST API 进行交互。 它支持两种不同风格的 API 调用: 安装 在您的应用程序根目录中,输入: $ npm install loopback-connector-rest --save 这将从 npm 安装模块并将其作为依赖项添加到应用程序的文件中。 创建 REST 数据源 使用将 REST 数据源添加到您的应用程序。 对于环回 2.x: $ apic create --type datasource 对于 LoopBack 2.x 或 3.0: $ lb datasource 出现提示时,在连接器列表中向下滚动并选择REST services (supported by StrongLoop) 。 这会向添加一个条目,例如: ... "myRESTdata

文件下载

资源详情

[{"title":"( 56 个子文件 128KB ) loopback-connector-rest:将环回连接到 REST API-源码","children":[{"title":"loopback-connector-rest-master","children":[{"title":".eslintrc <span style='color:#111;'> 208B </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 497B </span>","children":null,"spread":false},{"title":"docs.json <span style='color:#111;'> 293B </span>","children":null,"spread":false},{"title":"intl","children":[{"title":"nl","children":[{"title":"messages.json <span style='color:#111;'> 691B </span>","children":null,"spread":false}],"spread":true},{"title":"ko","children":[{"title":"messages.json <span style='color:#111;'> 736B </span>","children":null,"spread":false}],"spread":true},{"title":"zh-Hans","children":[{"title":"messages.json <span style='color:#111;'> 638B </span>","children":null,"spread":false}],"spread":true},{"title":"de","children":[{"title":"messages.json <span style='color:#111;'> 701B </span>","children":null,"spread":false}],"spread":true},{"title":"en","children":[{"title":"messages.json <span style='color:#111;'> 649B </span>","children":null,"spread":false}],"spread":true},{"title":"fr","children":[{"title":"messages.json <span style='color:#111;'> 719B </span>","children":null,"spread":false}],"spread":true},{"title":"ru","children":[{"title":"messages.json <span style='color:#111;'> 925B </span>","children":null,"spread":false}],"spread":true},{"title":"tr","children":[{"title":"messages.json <span style='color:#111;'> 677B </span>","children":null,"spread":false}],"spread":true},{"title":"pt","children":[{"title":"messages.json <span style='color:#111;'> 700B </span>","children":null,"spread":false}],"spread":true},{"title":"ja","children":[{"title":"messages.json <span style='color:#111;'> 776B </span>","children":null,"spread":false}],"spread":false},{"title":"cs","children":[{"title":"messages.json <span style='color:#111;'> 685B </span>","children":null,"spread":false}],"spread":false},{"title":"it","children":[{"title":"messages.json <span style='color:#111;'> 689B </span>","children":null,"spread":false}],"spread":false},{"title":"es","children":[{"title":"messages.json <span style='color:#111;'> 702B </span>","children":null,"spread":false}],"spread":false},{"title":"zh-Hant","children":[{"title":"messages.json <span style='color:#111;'> 635B </span>","children":null,"spread":false}],"spread":false},{"title":"pl","children":[{"title":"messages.json <span style='color:#111;'> 700B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"package.json <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false},{"title":".github","children":[{"title":"PULL_REQUEST_TEMPLATE.md <span style='color:#111;'> 680B </span>","children":null,"spread":false},{"title":"ISSUE_TEMPLATE","children":[{"title":"Feature_request.md <span style='color:#111;'> 413B </span>","children":null,"spread":false},{"title":"Bug_report.md <span style='color:#111;'> 1.25KB </span>","children":null,"spread":false},{"title":"config.yml <span style='color:#111;'> 596B </span>","children":null,"spread":false},{"title":"Question.md <span style='color:#111;'> 482B </span>","children":null,"spread":false}],"spread":true},{"title":"workflows","children":[{"title":"continuous-integration.yaml <span style='color:#111;'> 1.31KB </span>","children":null,"spread":false}],"spread":true},{"title":"stale.yml <span style='color:#111;'> 949B </span>","children":null,"spread":false}],"spread":true},{"title":"test","children":[{"title":"request-template-with-key-var.json <span style='color:#111;'> 319B </span>","children":null,"spread":false},{"title":"template.test.js <span style='color:#111;'> 7.93KB </span>","children":null,"spread":false},{"title":"rest-adapter-custom.test.js <span style='color:#111;'> 10.95KB </span>","children":null,"spread":false},{"title":"rest-builder.test.js <span style='color:#111;'> 11.04KB </span>","children":null,"spread":false},{"title":"express-helper.js <span style='color:#111;'> 710B </span>","children":null,"spread":false},{"title":"request-template.json <span style='color:#111;'> 593B </span>","children":null,"spread":false},{"title":"rest-model.test.js <span style='color:#111;'> 5.01KB </span>","children":null,"spread":false},{"title":"fixtures","children":[{"title":"timezone-location--33.86_151.20.json <span style='color:#111;'> 149B </span>","children":null,"spread":false},{"title":"geocode-latlng-40.714224_-73.961452.json <span style='color:#111;'> 19.01KB </span>","children":null,"spread":false},{"title":"geocode-address-san_mateo_ca.json <span style='color:#111;'> 2.27KB </span>","children":null,"spread":false},{"title":"geocoder-stub.js <span style='color:#111;'> 1.87KB </span>","children":null,"spread":false}],"spread":false},{"title":"rest-loopback.test.js <span style='color:#111;'> 5.61KB </span>","children":null,"spread":false}],"spread":true},{"title":"LICENSE <span style='color:#111;'> 1.18KB </span>","children":null,"spread":false},{"title":"package-lock.json <span style='color:#111;'> 249.22KB </span>","children":null,"spread":false},{"title":"CONTRIBUTING.md <span style='color:#111;'> 1.18KB </span>","children":null,"spread":false},{"title":"CHANGES.md <span style='color:#111;'> 8.78KB </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 112B </span>","children":null,"spread":false},{"title":"lib","children":[{"title":"utils.js <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false},{"title":"experimental","children":[{"title":"json-schema-discovery.js <span style='color:#111;'> 1.39KB </span>","children":null,"spread":false},{"title":"rest-swagger.js <span style='color:#111;'> 1.20KB </span>","children":null,"spread":false},{"title":"rest-spec.json <span style='color:#111;'> 713B </span>","children":null,"spread":false}],"spread":false},{"title":"rest-connector.js <span style='color:#111;'> 13.63KB </span>","children":null,"spread":false},{"title":"rest-crud.json <span style='color:#111;'> 1.89KB </span>","children":null,"spread":false},{"title":"template.js <span style='color:#111;'> 6.94KB </span>","children":null,"spread":false},{"title":"rest-model.js <span style='color:#111;'> 4.84KB </span>","children":null,"spread":false},{"title":"rest-builder.js <span style='color:#111;'> 15.35KB </span>","children":null,"spread":false}],"spread":true},{"title":"commitlint.config.js <span style='color:#111;'> 497B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 10.72KB </span>","children":null,"spread":false},{"title":".eslintignore <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"CODEOWNERS <span style='color:#111;'> 201B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明