scale-armor:简单易用的可扩展节点Restful API框架-源码

上传者: 42128270 | 上传时间: 2021-05-17 15:03:31 | 文件大小: 73KB | 文件类型: ZIP
规模装甲 简单易用的可扩展节点Restful API框架 ScaleArmor运行在feathers.js之上,并且仍在开发中 安装 npm install scale-armor 设置基本应用程序 验证您的测试环境 在您的项目中创建目录config ,然后创建一个名为default.json的新文件 { " host " : " localhost " , " port " : 3030 } 创建第一个模型并路由 创建一个新的文件model.ts import { Model , MongoDbModel } from 'scale-armor' ; export interface Person extends Model { name : string ; age : number ; address : string ; isE

文件下载

资源详情

[{"title":"( 32 个子文件 73KB ) scale-armor:简单易用的可扩展节点Restful API框架-源码","children":[{"title":"scale-armor-master","children":[{"title":"package.json <span style='color:#111;'> 1.81KB </span>","children":null,"spread":false},{"title":"package-lock.json <span style='color:#111;'> 129.89KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"core","children":[{"title":"errors.ts <span style='color:#111;'> 901B </span>","children":null,"spread":false},{"title":"mongodb-model","children":[{"title":"connection.ts <span style='color:#111;'> 2.85KB </span>","children":null,"spread":false},{"title":"view.ts <span style='color:#111;'> 2.49KB </span>","children":null,"spread":false},{"title":"model.ts <span style='color:#111;'> 6.95KB </span>","children":null,"spread":false},{"title":"index.ts <span style='color:#111;'> 79B </span>","children":null,"spread":false}],"spread":true},{"title":"persisted-model.ts <span style='color:#111;'> 1.18KB </span>","children":null,"spread":false},{"title":"base64.ts <span style='color:#111;'> 550B </span>","children":null,"spread":false},{"title":"service.ts <span style='color:#111;'> 34B </span>","children":null,"spread":false},{"title":"routing.ts <span style='color:#111;'> 11.73KB </span>","children":null,"spread":false},{"title":"config.ts <span style='color:#111;'> 817B </span>","children":null,"spread":false},{"title":"crud.ts <span style='color:#111;'> 10.17KB </span>","children":null,"spread":false},{"title":"index.ts <span style='color:#111;'> 223B </span>","children":null,"spread":false},{"title":"token.ts <span style='color:#111;'> 1.88KB </span>","children":null,"spread":false}],"spread":true},{"title":"auth","children":[{"title":"model.ts <span style='color:#111;'> 457B </span>","children":null,"spread":false},{"title":"routes.ts <span style='color:#111;'> 3.39KB </span>","children":null,"spread":false},{"title":"service.ts <span style='color:#111;'> 3.24KB </span>","children":null,"spread":false},{"title":"index.ts <span style='color:#111;'> 78B </span>","children":null,"spread":false}],"spread":true},{"title":"middleware","children":[{"title":"headers.ts <span style='color:#111;'> 177B </span>","children":null,"spread":false},{"title":"logger.ts <span style='color:#111;'> 277B </span>","children":null,"spread":false},{"title":"catch.ts <span style='color:#111;'> 734B </span>","children":null,"spread":false}],"spread":true},{"title":"app.ts <span style='color:#111;'> 2.45KB </span>","children":null,"spread":false},{"title":"index.spec.ts <span style='color:#111;'> 3.48KB </span>","children":null,"spread":false},{"title":"utils","children":[{"title":"constructorof.ts <span style='color:#111;'> 44B </span>","children":null,"spread":false},{"title":"index.ts <span style='color:#111;'> 33B </span>","children":null,"spread":false}],"spread":true},{"title":"index.ts <span style='color:#111;'> 71B </span>","children":null,"spread":false}],"spread":true},{"title":".npmignore <span style='color:#111;'> 56B </span>","children":null,"spread":false},{"title":"tsconfig.json <span style='color:#111;'> 5.01KB </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 62B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 2.65KB </span>","children":null,"spread":false},{"title":"LICENSE.txt <span style='color:#111;'> 34.32KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

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