minerva-api-framework
minerva api framework
QuickStart
$ npm install
$ npm test
publish your framework to npm, then change app's dependencies:
// {app_root}/index.js
require('minerva-api-framework').startCluster({
baseDir: __dirname,
// port: 7001, // default to 7001
});
fluent logger format
${date} ${level} ${pid} ${json_string}
${json_string} => ${scope}, ${message}, ${trackingId}, ${paddingMessage}
${scope} => ${service}, ${module}, ${pathName}
${message}
${trackingId}
${paddingMessage} => ${ip}, ${tenantId}, ${accountId}, ${use}, ${method}, ${url}
Questions & Suggestions
Please open an issue here.