rest api based on nodejs (express) and mongodb