added a node rest api for part 2