A Web API with Rails done as a coding challange.

The application is simply a group of lists that contain cards, cards have comments and comments can have replies, a user CRUD lists, cards, comments and replies with some specific authorization rules.

The API contains:

  • CRUD actions for all resources
  • Authentication endpoints with Devise and JWT
  • Pagination
  • Reddit-like comments system done with polymorphic associations
  • Authorization using CanCanCan
  • Testing with Rspec, Faker and FactoryBot