wprater / grape-on-rack

A demo Grape API mounted on RACK.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Grape API on Rack

Build Status

A Grape API mounted on Rack.

  • API v1: demonstrates rescue_from that wraps all exceptions in an HTTP error code 500
  • API v2: demonstrates vendor-based versioning
  • API v3: demonstrates POST and PUT
  • API v4: demonstrates a middleware that wraps all responses and always returns HTTP code 200
  • API v5: demonstrates a POST with JSON data

About

A demo Grape API mounted on RACK.


Languages

Language:Ruby 96.4%Language:JavaScript 3.6%