routing-controllers
Create structured, declarative and beautifully organized class-based controllers with heavy decorators usage in Express / Koa using TypeScript and Routing Controllers Framework.
- 4.5k
- TypeScript
- MIT
- 6 mo ago
Create structured, declarative and beautifully organized class-based controllers with heavy decorators usage in Express / Koa using TypeScript and Routing Controllers Framework.
REST API boilerplate using NodeJS and KOA2, typescript. Logging and JWT as middlewares. TypeORM with class-validator, SQL CRUD. Docker included. Swagger docs, actions CI and valuable README
基于koa-router中间件基础之上的一个扩展版本,把路由文件跟控制器独立开来,写法类似于Sails的routes.js文件。并且实现了根据目录路径自动注册路由。