restgoose:使用装饰器的模型驱动的REST API框架

时间:2021-02-04 06:05:58
【文件属性】:
文件名称:restgoose:使用装饰器的模型驱动的REST API框架
文件大小:183KB
文件格式:ZIP
更新时间:2021-02-04 06:05:58
nodejs api framework typescript rest 野鹅 现代REST API框架。 MongoDB +打字稿+ Restgoose = :red_heart_selector: Restgoose通过REST API轻松公开了您的MongoDB数据库。 它由模型本身驱动,从而减少了编写简单端点所需的样板代码。 它可以扩展,因此您也可以轻松添加复杂的逻辑。 安装 npm install @xureilab/restgoose 最少使用 这将在模型上创建典型的CRUD端点: import { Restgoose , RestgooseModel , all , create , one , prop , remove , rest , update } from '@xu
【文件预览】:
restgoose-master
----.gitignore(627B)
----mocha.opts(70B)
----tsconfig.json(297B)
----README.md(4KB)
----wercker.yml(632B)
----CHANGELOG.md(3KB)
----test()
--------test-restgoose-field.ts(4KB)
--------test-array-field.ts(3KB)
--------test-enum-field.ts(4KB)
--------test-object-field.ts(4KB)
--------test-minimal-todo.ts(9KB)
--------test-multiple-db.ts(3KB)
--------test-fetch-hook.ts(6KB)
--------todo.md(178B)
--------test-extended-model-def.ts(2KB)
--------test-extended-model.ts(4KB)
--------test-pre.ts(4KB)
--------test-post.ts(8B)
--------test-schema-options.ts(2KB)
--------test-middleware-composers.ts(7KB)
--------util()
--------test-submodel-embedded.ts(9KB)
--------test-convert-fields.ts(7KB)
--------test-submodel-referenced.ts(7KB)
----docs()
--------_config.yml(103B)
--------Dockerfile(144B)
--------_layouts()
--------getting-started-forum.md(3KB)
--------Gemfile(72B)
--------getting-started.md(19KB)
--------serve.sh(115B)
--------CONTRIBUTING.md(12KB)
--------CODE_OF_CONDUCT.md(3KB)
--------index.md(2KB)
--------AUTHORS.md(147B)
--------rest-lifecycle.md(4KB)
--------assets()
--------roadmap.md(449B)
--------API.md(9KB)
----examples()
--------tsconfig.json(282B)
--------todo-backend()
--------fetch-hook()
--------complex-api()
--------minimal-todo()
----LICENSE(11KB)
----package.json(2KB)
----tslint.json(675B)
----CONTRIBUTING.md(12KB)
----src()
--------convert-fields.ts(3KB)
--------types.ts(2KB)
--------type-checks.ts(908B)
--------request-util.ts(609B)
--------rest-registry.ts(4KB)
--------rest-controller.ts(17KB)
--------get-model.ts(1KB)
--------restgoose-model.ts(4KB)
--------parse-query.ts(777B)
--------decorators()
--------hooks.ts(6KB)
--------index.ts(348B)
--------restgoose.ts(7KB)
--------debug.ts(87B)
--------middleware-composers.ts(2KB)
----renovate.json(70B)
----CODE_OF_CONDUCT.md(3KB)
----codecov.yml(62B)
----scripts()
--------serve-doc.sh(208B)
----.npmignore(237B)
----.editorconfig(638B)
----package-lock.json(141KB)

网友评论