Simple API based on Ruby on Rails by implementin CanCanCan and Knock
If you don't have ruby, i recommende to use Rbenv. Then,
gem install bundler
bundle install
Then configure database (it uses sqlite3 by default) in config/databse.yml and run migrations and seeds:
rails db:migrate
rails db:seed
Seeds adds 3 users: admin - [email protected] / 123456 curation - [email protected] / 123456 visitor - [email protected] / 123456
Run the server
rails s
This repo is inspired by Rails 5 REST API with CanCan