Zum Hauptinhalt springen
G

Grape

REST-like API framework for Ruby

An opinionated framework for creating REST-like APIs in Ruby. Designed to run on Rack or complement existing frameworks like Rails and Sinatra.

10K
GitHub Stars
none
TypeScript
medium
Learning Curve
4.1
DX Score

Preise

Model
free
Kostenlose Stufe
MIT licensed, fully open source

Funktionen

  • REST-like API DSL
  • Content negotiation
  • API versioning
  • Parameter validation
  • Authentication helpers
  • Exception handling
  • Custom middleware
  • CORS support
  • API documentation

Vorteile

  • + Great for APIs
  • + Works with Rails
  • + Clean DSL
  • + Good validation
  • + Versioning built-in

Nachteile

  • - API-only
  • - Adds complexity to Rails
  • - Learning curve
  • - Performance overhead

Am besten für

startup enterprise
backend api rest rails rack