Switch branches/tags
Nothing to show
Clone or download
cutalion Update grape and other gems
Fix status endpoint: no need to convert hash to JSON manually (after updating
gems)
Latest commit 2d85b7d Jun 29, 2013
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app Update grape and other gems Jun 28, 2013
config Example prepared Apr 17, 2013
db Ignore sqlite databases Jun 28, 2013
docs/fdoc Example prepared Apr 17, 2013
lib/fdoc Example prepared Apr 17, 2013
public Example prepared Apr 17, 2013
spec Example prepared Apr 17, 2013
.gitignore Ignore sqlite databases Jun 28, 2013
.rspec Example prepared Apr 17, 2013
.ruby-gemset Convert rvmrc to ruby-version Jun 28, 2013
.ruby-version Convert rvmrc to ruby-version Jun 28, 2013
Gemfile Update grape and other gems Jun 28, 2013
Gemfile.lock Update grape and other gems Jun 28, 2013
Guardfile Example prepared Apr 17, 2013
README.md Update README.md Apr 17, 2013
Rakefile Example prepared Apr 17, 2013
application.rb Example prepared Apr 17, 2013
config.ru Example prepared Apr 17, 2013
environment.rb Example prepared Apr 17, 2013

README.md

Grape API example

System Requirements

  • ruby 1.9.3
  • see Gemfile

Installation

  • bundle install
  • rake db:migrate db:test:prepare
  • rake db:seed
  • rspec spec

Development

  • Run console: racksh
  • Generate migration file: rake g:migration NAME=migration_name
  • All ActiveRecord rake tasks are accessible: db:migrate, db:drop, db:seed, etc
  • Start the server: rackup

Heroku

This code on heroku
Use this special-key in /api/doc swagger interface: e711541a4a79b037c15a8b01314d667e