Blog post companion API & implementation.
API described in API Blueprint and tested by Dredd. App written in Ruby using Sinatra and Roar.
- API documentation at Apiary: http://docs.gtdtodoapi.apiary.io
- Run the app:
$ bundle install
and$ ruby app.rb
- Run the tests
$ npm install -g dredd
and$ dredd apiary.apib http://localhost:4567
- Ruby client: https://github.com/zdne/todoapi-client-ruby
Todo API implementation demonstrates resource and its representation abstraction using the awesome Roar library. See the domain_model.rb
and commented implementation in post '/folders'
.
Fork & Pull Request.
MIT License. See the LICENSE file.