Node js based mongo DB Rest-API