Backlogg's RESTful API written in Ruby using Sinatra.
- Ruby 2.1.1 via rbenv
- Ruby Gems
- Run
bundle install
(orbundle update
) via Bundler- If
gem install pg
fails, try runningbrew install postgresql
first
- If
- Download, install, and run PostgreSQL
- Run
createdb backlogg_development
to create the database - Run
bundle exec rake db:create
- Run
bundle exec rake db:migrate
- Run
bundle exec rake db:seed
bundle exec rerun rackup config.ru
bundle exec rake console
- Create or login to your apiary.io account
- Visit https://login.apiary.io/tokens to obtain an API key and save it in
.env
- Run
apiary preview --server
oraglio -i apiary.apib -s -p 8080
- Implement DataMapper