A sample rest api fronting a mongodb instance