koatty:Koa2 +打字稿= Koatty。 使用Typescript的装饰器实现IOC和AOP

时间:2021-02-03 14:44:56
【文件属性】:
文件名称:koatty:Koa2 +打字稿= Koatty。 使用Typescript的装饰器实现IOC和AOP
文件大小:95KB
文件格式:ZIP
更新时间:2021-02-03 14:44:56
ioc middleware koa typescript router 考特 Koa2 +打字稿= koatty。 使用Typescript的装饰器实现IOC和AOP。 文献资料 (进行中 :flexed_biceps: ) [koatty_doc_EN]即将推出... 安装 npm i -g koatty_cli 快速开始 1.创建项目 koatty new projectName cd ./projectName yarn install npm start 2.创建一个控制器 koatty controller test 3,创建服务 koatty service test 3.创建中间件(可选) koatty middleware test 4.创建模型(可选) 支持和。 请自行扩展其他ORM。 //thinkorm koatty middleware test //typeorm koatty middleware -o typeorm test 5.创建一个DTOClass(可选) koatty dto test 6,定义TestController import { Controller , BaseController ,
【文件预览】:
koatty-master
----commit.md(58B)
----package.json(2KB)
----tslint.json(2KB)
----test()
--------static()
--------src()
--------tsconfig.json(4KB)
----LICENSE(1KB)
----src()
--------core()
--------config()
--------middleware()
--------Koatty.ts(10KB)
--------controller()
--------service()
--------util()
--------index.ts(699B)
----.npmignore(87B)
----tsconfig.json(4KB)
----.gitignore(82B)
----README.md(3KB)
----yarn.lock(76KB)
----.vscode()
--------launch.json(548B)

网友评论