REST api with nodejs