add node rest api, bind customer model to view template