Sunday, 15 September 2013

ruby - What are the benefits of using Grape in the Rails app? -



ruby - What are the benefits of using Grape in the Rails app? -

i have rails web app , want provide api. have found grape , looked nice , can mounted rails not sure of benefits of mounting grape rails app , utilize api instead of rails controllers.

as understand grape great building applications provide api not case.

what think benefits of using grape in rails app , why should so?

grape within rails makes easy standardize syntax of api.

for example, parameter validation , coercion, error handling specific api that's different rails provides out of box, , easy shortcuts typical responses.

you rails, of course. grape makes easy.

ruby-on-rails ruby api rack grape

No comments:

Post a Comment