grape-on-padrino icon indicating copy to clipboard operation
grape-on-padrino copied to clipboard

Grape API mounted on the Padrino web framework.

Grape API on Padrino

Build Status Dependency Status Code Climate

A Grape API mounted on the Padrino Web Framework.

  • ping: a hello world example that returns a JSON document

Heroku

In instance of grape-on-padrino is deployed on Heroku at grape-on-padrino.herokuapp.com.

Run

$ bundle install
$ rackup

Hello World

Navigate to http://localhost:9292/ping with a browser or use curl.

$ curl http://localhost:9292/ping

{"ping":"pong"}

List Routes

rake routes