Hacker GitHub

← All repos

ruby-grape/grape

View on GitHub ↗ ★ 10,010 Ruby

An opinionated framework for creating REST-like APIs in Ruby.

20 mentions on Hacker News by 18 people: 1 story, 19 comments · first 2011-04-11 · latest 2023-01-23

Mentions per year 20 mentions · busiest year 2012 (7)
20082026
  1. …Grape, but this very much reminds me of something I do really like about it: the param validation. https://github.com/ruby-grape/grape#parameters
  2. You are correct. Maybe the DRF for Ruby is grape https://github.com/ruby-grape/grape/blob/master/README.md but I never used it. I just fill in the standard scaffolded REST methods in the controllers with queries and write json views (Rails…
    comment by pmontra · 2016-10-21 · in Django REST framework 3.5
  3. …Django models, but we all end up changing them. I tend to enjoy working with Ruby Grape APIs: https://github.com/ruby-grape/grape#basic-usage No need to deal with 100 types of ViewSets, Serializers, Renderers, Parsers, and so on. You just…
    comment by misterbowfinger · 2016-10-20 · in Django REST framework 3.5
  4. Grape by Intridea https://github.com/ruby-grape/grape is a nifty choice. It is somewhat opinionated, but lightweight enough to have most of the features you'll need in writing an API Docs over at http://intridea.github.io/grape/
  5. Let's not forget Grape either: https://github.com/intridea/grape You could see this move towards JSON APIs way back in 2012 as I suggested here: http://paulbjensen.co.uk/posts/2012/07/11/thoughts-on-rails-... . Some poo-pooed the notion,…
    comment by paulbjensen · 2015-04-21 · in Rails API is coming to Rails 5
  6. The typos advice is really, really good. Here's such a PR: https://github.com/intridea/grape/pull/741
  7. …cool. My (current) favorite rollout for APIs with Ruby/Rack/Rails is Grape[0] with ASM[1]. [0] https://github.com/intridea/grape [1] https://github.com/jrhe/grape-active_model_serializers
  8. …(also provides a web-based console); I can convert the generated Swagger docs to markdown too. [0] https://github.com/intridea/grape [1] https://github.com/tim-vandecasteele/grape-swagger
  9. One more ruby framework that might be interesting to test would be grape. https://github.com/intridea/grape Thanks for the work you've done with bench-micro. I was not aware of all of those frameworks.
  10. …be worth listing in the Ruby section. It's an actively maintained microframework for REST APIs. [1] https://github.com/intridea/grape
    comment by _neil · 2013-12-18 · in List of minimalist frameworks
  11. …now, and absolutely loving it. It's quick and simple. I am using Grape framework (rack based) : https://github.com/intridea/grape
    comment by jhess2991 · 2013-11-28 · in Go, or Ruby or ExpressJS for an API?
  12. We're planning to use this and it's automatically generates API docs: https://github.com/intridea/grape
    comment by gesman · 2013-03-26 · in How do you document your RESTful API?
  13. …probably an opportunity for an API-focused extension to Sinatra. Of course, Grape works too ( https://github.com/intridea/grape ). The nice thing is that all of these are built on Rack now. GitHub.com runs as a Unicorn rack app that mounts…
    comment by technoweenie · 2012-12-27 · in Rails is omakase
  14. …generate a Ruby gem for your REST API, as well as a documentation site. There's already grape ( https://github.com/intridea/grape ) and grape_doc, so it looks like 'grape_client' is the only missing piece. Imagine being able to…
  15. If you need to stick with Ruby for whatever reason, I recommend using Grape. https://github.com/intridea/grape
  16. Check out Grape. ( https://github.com/intridea/grape/ )
  17. Rails is overkill for an api, I think grape https://github.com/intridea/grape has a lot of potential here. Put node.js in front of something like grape and you have the best of both worlds.
    comment by troyk · 2012-03-21 · in Rails is just an API
  18. Grape ( https://github.com/intridea/grape ) is another great option for building APIs in Ruby.
  19. …suited to build RESTful APIs. If you love Rails and still want that, mount something like Grape ( http://github.com/intridea/grape ) inside your Rails app.
  20. ▲ 2
    Library for creating API's
    story by amanelis · 2011-04-11 · 0 comments