Lightweight NodeJs library for creating API endpoints with Typescript decorators. Supports API versioning, OpenAPI3 and docker. Powered by Koa 2+, Koa-router and Nigerian food (amala+ewedu)
MIT License
Bot releases are hidden (Show)
This release introduces the ability to load Controllers without having to use a glob string for directories. You can use a glob, but can also use classes. i.e
import {FooController} from './controllers/FooController';
import {BarController} from './controllers/BarController';
await bootstrapControllers(app, {
...
controllers: [FooController, BarController],
...
});
This is very helpful for people getting errors like SyntaxError: Cannot use import statement outside a module
when trying to load controller classes through path strings.