This application was generated with the rails_apps_composer gem provided by the RailsApps Project.
You will need postgresql database and nodejs installed.
git clone https://github.com/tmwh/api_auth-sample.git
cd api_auth-sample
bundle install
rake db:setup
rails s
Go to http://lvh.me:3000/ and register to get the id and secret.
bin/sample_client your_client_id your_secret http://lvh.me:3000/api/v1/users/all