A simple implementation of building a REST API on top of MongoDB