Ir para o conteúdo principal
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

Preços

Model
free
Plano Gratuito
MIT licensed, fully open source

Recursos

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

Prós

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

Contras

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

Melhor Para

startup enterprise
backend api rest rails rack