• Stars
    star
    127
  • Rank 282,790 (Top 6 %)
  • Language
    Ruby
  • Created over 9 years ago
  • Updated almost 8 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

rails 4, rails-api, devise, doorkeeper, oauth, cancancan, rspec, puma, vcr, factory_girl, reqres_rspec, pg, dotenv, rack-cors, active_model_serializers, rubocop

Example API

rails 4, rails-api, devise, doorkeeper, oauth, cancancan, rspec, puma, vcr, factory_girl, reqres_rspec, pg, dotenv, rack-cors, active_model_serializers, rubocop

Rails API with a nice User management via devise gem, with both frontend forms and JSON access, and with a token-based OAuth authentication via doorkeeper. Sample authorization is done with cancancan and also is tested.

As a bonus all the functionality is covered by integration specs with rspec

Features:

  • User Signup
  • Restore password
  • Modify own user profile
  • User password-based authentication
  • Client application authentication
  • Access with OAuth access_token
  • Generate new access_token via refresh_token
  • Authorization