sample rails application exposing data using apis.