Episode #3
In this episode I will show you how to create a rails api-only application and build a couple of REST APIs that are JSON. I will be using docker and docker-compose to create and run the rails api application.
For JSON views I will be using jbuilder gem which has a good DSL syntax. I will use rails scaffold to generate some APIs and then make a few changes to the JSON views to walk though some of the jbuilder structures.
Source Code: https://github.com/devteds/e3-apis-on-rails
Docker Template for Rails : https://github.com/devteds/docker-rails-template
Rails for API-only Apps: http://edgeguides.rubyonrails.org/api_app.html