0.1.7 • Published 4 years ago

quick-pm v0.1.7

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

Quick PM

Quick API for your service development.

This is for early stage of your complex service development, works well with service not yet daemonized. (in other words, works well while you are playing with console log)

Usage

$ npm install quick-pm
$ quick-pm service.hjson

API

/api/status?name=<name>  : get status for <name> (get all w/o name)
/api/console             : get merged stdout/stderr across all services
/api/stdout?name=<name>  : get stdout for <name>
/api/stderr?name=<name>  : get stderr for <name>
/api/start?name=<name>   : start <name>
/api/stop?name=<name>    : stop <name>
/api/restart?name=<name> : restart <name>
/api/startall            : start all
/api/stopall             : stop all
/api/config              : get config

UI

Write your own interface you like. But this module includes default web UI.

Demo

demo

There are two demo app in the demo directory, that writing out counter value to the stdout every sec. Try $ quick-pm demo/app.hjson and go to http://127.0.0.1:10088/web/default/index.html. You can test this tool.

License

MIT

0.1.7

4 years ago

0.1.6

6 years ago

0.1.5

6 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago