@rest-vir/run-service
v1.5.0
Published
Run a service defined by @rest-vir/define-service and implemented by @rest-vir/implement-service.
Maintainers
Readme
@rest-vir/run-service
Part of the rest-vir suite. This package is used for running a REST service already defined by @rest-vir/define-service and implemented by @rest-vir/implement-service.
See the full docs at https://electrovir.github.io/rest-vir
Installation
npm i @rest-vir/run-serviceUsage
Run your service:
import {startService} from '@rest-vir/run-service';
await startService(myServiceImplementation, {
port: 3000,
});