This project is Grape API mounted on Rails.
You can check working example on Heroku
Login as:
- user: [email protected] pass: test1234
or
- user: [email protected] pass: test1234
and feel free to add, edit, delete tasks and lists through swagger-ui.
In this example I use devise to authenticate user. To auth you should put obtained token in header input. Data is stored in MongoDB. API is written in Grape framework and documentation is generated by swagger-ui.
If you want to run this application you have to install MongoDB and create new database (you can change name in config/monogid.yml).
bundle install
rake db:seed
rails s puma
and open
http://localhost:3000/doc/api
If you want to deploy this on Heroku you need to run rake assets:precompile and commit generated files.