No description, website, or topics provided.
Ruby JavaScript CSS
Latest commit 5353998 Feb 20, 2014 @mateuszkosmider improve readme
Permalink
Failed to load latest commit information.
app Initial commit Feb 16, 2014
bin Initial commit Feb 16, 2014
config Initial commit Feb 16, 2014
db Initial commit Feb 16, 2014
lib Initial commit Feb 16, 2014
public delete files precompiled for heroku Feb 19, 2014
test Initial commit Feb 16, 2014
vendor/assets Initial commit Feb 16, 2014
.gitignore Initial commit Feb 16, 2014
Gemfile Initial commit Feb 16, 2014
Gemfile.lock Initial commit Feb 16, 2014
README.md improve readme Feb 19, 2014
Rakefile Initial commit Feb 16, 2014
config.ru Initial commit Feb 16, 2014

README.md

ToDo Rails API

This project is Grape API mounted on Rails.

You can check working example on Heroku

Login as:

- user: test@test.pl pass: test1234
or
- user: fake@test.pl 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.

Run

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.