volvox.js - Self announcing services
Volvox.js simple framework with powerful service discovery using Consul or ETCD
Just develop your app using your favorite framework Express, Hapi, Restify etc then Volvox.js takes care of the rest. It starts application on available port registers application to Consul or ETCD and starts worker that polls for critical instances and deregister them. volvox.js provides /status endpoint for Consul Health Checks. Also, it provides client to select random instance to communicate.
express.js and Consul integration
Here is sample code shows;;; { let server = ; server; let volvox = ; await volvox;} ;