rawb-microservice-base
v0.9.33
Published
## How to use
Downloads
21
Maintainers
Keywords
Readme
Simplified wrapper for microservices in RAWB
How to use
let ms = require('../');
const start = async () => {
let options = {
name: 'foo 1.0.0',
version: '1.0.0',
appPath: '',
port: 9000,
};
let server = await ms.start(options);
server.get('/tjena', (req, res, next) => {
res.send({hej: 1});
next();
});
};
start();
Run tests
npm run test