API's framework in nodejs and mongo db