second commit -added simple node js api routes