Using REST concepts to build a simple web application using Node and MongoDB