Skip to content

24hr-malmo/rawb-microservice-base

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published