Common REST services for node / web applications