This is an example of a working ecosystem of services and client applications that interact using roar and roar-rails gems. The main idea is to show how one might use those libraries to build such a system.
- book_of_orcharding - contains all the domain / business rules about fruit management
- orchard - serves us as the persistence layer for the orcharding rules
- tutti_frutti - exposes orcharding rules as a json api
- smoothie_mixer - rails project that consumes the api and delivers delicious fruit smoothies
- basher - command line api client
start tutti_frutti service by running: bundle exec rails s -p 9292
start smoothie_mixer client by running: bundle exec rails s
that should be it :-)
cherry favicon courtesy of http://www.favicon.cc/