ut-service

1.2.2 • Public • Published

ut-service

Service wrapper

usage

Ut-service can be used in 2 different ways:

  1. As a replacement of ut-run. In index.js in the root of the project:

    required('ut-service').run({version, main})
    

    where:

  • version is the package.json version. E.g. version: require('./package.json').version
  • main is the main application entry point and can contain a collection of services or bussiness module pacakges as described in ut-run:
  1. As a single module package as described in ut-run. I.e. in Service startup file server/index.js
    module.exports = ({config}) => [
        require('ut-service'),
        package2,
        //...
        packageN
    ];
    

Package Sidebar

Install

npm i ut-service

Weekly Downloads

2

Version

1.2.2

License

Apache-2.0

Unpacked Size

67 kB

Total Files

64

Last publish

Collaborators

  • kalin.krustev