Building xml/json api

Hi!

I'm building my first API with rails and i hope someone can point me in the right direction. What I want to know is which tutorials I should watch/read and also which gems/framework I should use. All tips will be helpful

The API should follow RESTful and HATEOAS (don't have to be strictly) The API

The requirements for my api is. * at least json but preferably also xml * sort resources on dates * search for a resource in a http request * get resources belonging to a particular tag * CRUD

Thanks

Hi!

I'm building my first API with rails and i hope someone can point me in the right direction. What I want to know is which tutorials I should watch/read and also which gems/framework I should use. All tips will be helpful

The API should follow RESTful and HATEOAS (don't have to be strictly) The API

The requirements for my api is. * at least json but preferably also xml * sort resources on dates * search for a resource in a http request * get resources belonging to a particular tag * CRUD

Have you already built conventional websites using Rails (or at least worked right through a good tutorial such as railstutorial.org)? Without knowing your experience it is difficult to answer the question at the right level.

Colin

Colin Law wrote in post #1181373:

There is very little difference between a rails app intended for html access and a json api. In fact the standard generated controllers include json format responses. Generally I would recommend starting out using the standard rails platform to generate an api before considering moving on to something like RABL, but if you are happy going down the route you have found then that is ok, obviously.

Colin