All threads / How to create a Rails Web application which consume its data from an API using JSON API Specification

Ask A Question

Notifications

You’re not receiving notifications from this thread.

How to create a Rails Web application which consume its data from an API using JSON API Specification

Kelvin Firmino asked in Rails

Hi, good afternoon.

Chris, I ahve noticed that there are companies asking for consuming an API using JSON API Specification where I should consume its data and create a front-end with Rails to show this information.

Do you have any material or video that talk about it?

It also asked to store this information in a Memory Database like Redis.

Thanks in advance for your help.

I did an episode on that here: https://gorails.com/episodes/consuming-an-api-using-httparty-and-creating-a-gem

It's using the HTTParty gem, but you can also use like RestClient as well which I believe I've talked about in an episode or two as well.

Thanks for the information.

What did you mean with "you can also use like RestClient as well"?

There are many ways to talk to an API. HTTParty, RestClient, etc are all options you could use.

Ok, thanks for the information.

It is another Gem.

Join the discussion

Want to stay up-to-date with Ruby on Rails?

Join 37,344+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    logo Created with Sketch.

    Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

    © 2020 GoRails, LLC. All rights reserved.