An open API service indexing awesome lists of open source software.

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

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

![demo](demo/app.jpg)

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