bin script for running micro services
tamagokun opened this issue · comments
Mike Kruk commented
Idea:
A micro service should be very simple and portable. Nothing more than a function. In order to accomplish this, we can use a script to manage all the start/stop listen, etc. of the service.
- use forever to start/stop
- automatically detect js / coffeescript
- automatic port assignment or pass in
- custom list of npm modules? is this possible?
- service function is passed data (json) and return channel (stream)