@wize/rest-runtime
v1.0.3
Published
Wizni rest Runtime
Downloads
3
Readme
##REST SOURCE @wize/rest-runtime
##Description
Register api for rest source objects.
##Usage
###Installation
npm install --save @wize/rest-runtime
###Initialize
import restRuntime from '@wize/rest-runtime'
.
.
.
/*
app : Koa app in which the routes will be registered.
directoryName : directory of the source file.
*/
export function init() {
restRuntime(this.app,__dirname);
}
##Test
npm run test
##License MIT License