Home automation frontend / backend with MEAN.JS