tamagokun / services

A series of micro services that can be used to react to Fridge data.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bin script for running micro services

tamagokun opened this issue · comments

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)