Episode #3

APIs on Rails: Create a rails API-only application

Published on: Jan 22, 2017 | Video length: 12 minutes

Show Notes

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.