What is Grape?

You don't need a hand saw to slice an apple. And you don't need to use Rails to write simple APIs. Grape allows you to build lightweight APIs with Ruby when you don't need the heavy lifting power of large frameworks like Rails. It's a REST-like API micro-framework built to complement existing web application frameworks by providing a simple DSL to easily provide APIs. It has built-in support for common conventions such as multiple formats, subdomain/prefix restriction, and versioning.

Who's Using Grape?

With over 2000 watchers and 200 forks on Github, Grape is powering numerous web applications including Elevate, a state of the art POS system from Agilysys, and Artsy.net, a free and open-access platform application funded by leading visionaries in the tech industry that aims to make art accessible to anyone with an Internet connection.

Getting Started

Grape is available as a gem, to install it just install the gem:

gem install grape

If you're using Bundler, add the gem to Gemfile.

gem 'grape'

Resources

Created By:

Jerry Cheung

Jerry loves creating software. He started experimenting with Ruby on Rails in 2007 and got hooked on it after creating several personal projects. Upon graduating from Berkeley, he joined Coupa and later went on to start his own company Outspokes with several friends from Berkley.

When he's not furiously typing, Jerry might be out running, brewing beer, or enjoying a BBQ and getting a serious sunburn.

Michael Bleigh

Michael has been with Intridea since 2007 and works to build Intridea's portfolio of products. With many years of experience working as both a designer and a developer, Michael specializes in helping to bridge the gap between the back-end development and the front-end design of a project.

Michael is a prolific member of the Ruby on Rails community, having released popular open source libraries such as OmniAuth and spoken at conferences including RailsConf and RubyConf.

Maintained By:

Daniel Doubrovkine

Daniel Doubrovkine (aka dB.) is a technology manager, entrepreneur and open-source cheerleader. He is currently the tallest engineer at Art.sy.