Integration between the sample todo app and mongodb