This is an example JSON API application built with Lotus.
- Ruby 2+ (with Bundler)
- Redis
- Heroku CLI (for deployment)
➜ git clone https://github.com/jodosha/lotus-api-example bookshelf
➜ cd bookshelf && bundle
➜ bundle exec rackup
In a separated shell, start redis-server
, then visit: http://localhost:9292
.
Run the test suite via Rake.
➜ bundle exec rake
Install the Redis plugin for Heroku CLI
➜ heroku plugins:install heroku-redis
➜ heroku create
➜ heroku addons:create heroku-redis:hobby-dev
➜ git push heroku master
➜ heroku open
Copyright © 2015 Luca Guidi – Released under MIT License