Reporting application written using Rails 4.0, MongoDB and AngularJS