https://github.com/raykitajima/quick-pm
Quick API for your service development
https://github.com/raykitajima/quick-pm
Last synced: 10 days ago
JSON representation
Quick API for your service development
- Host: GitHub
- URL: https://github.com/raykitajima/quick-pm
- Owner: RayKitajima
- Created: 2018-08-06T07:57:43.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2020-04-09T03:55:54.000Z (about 6 years ago)
- Last Synced: 2025-02-03T04:08:12.273Z (over 1 year ago)
- Language: JavaScript
- Size: 164 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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= : get status for (get all w/o name)
/api/console : get merged stdout/stderr across all services
/api/stdout?name= : get stdout for
/api/stderr?name= : get stderr for
/api/start?name= : start
/api/stop?name= : stop
/api/restart?name= : restart
/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

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