Node JS web service for mitten project