< Home | Examples
These applications have recent maintenance and runnable setup instructions. Check each repository’s README and CI matrix for supported versions and required services rather than assuming every example uses the same Ruby, Rack, or Grape release.
Community Examples
| Example | What it demonstrates |
|---|---|
| grape-on-rack | Mount a Grape API on Rack alongside static pages. |
| grape-on-rails | Mount a Grape API in Rails. |
| grape-on-goliath | Run Grape behind the Goliath web server. |
| grape-on-padrino | Integrate a Grape API with Padrino. |
| grape-with-roar | HAL presenters, JSON writes, and hypermedia clients with Roar. |
Grape with Roar: Three Active Variants
master: ActiveModel with generated data and nonpersistent writes.with-mongoid: MongoDB persistence with string IDs and cursor-based pagination.with-activerecord: PostgreSQL persistence with integer IDs and page-based pagination.
Third-Party Applications
- grape-api-boilerplate: A maintained application skeleton with ActiveRecord, Swagger documentation, authentication, Docker, and tests.
Older one-off demos and abandoned applications are no longer featured as current starting points. See resources for clearly labeled historical talks and tutorials, or community projects for maintained libraries and generators.
Contribute
Please contribute your sample app to this page.