Start Writing your API's with Rails
With the popularity of Javascript frameworks and the move to cross platform development, Now is a good time to start writing your green-field applications with an API first mindset.
Rails 5 has been announce to have a new –api flag included for your disposal, but this functionality has been around for over a year in the rails-api gem.
The idea of building a Rails API is to remove the unneeded magic that is not needed when rendering just JSON. You also gain the ability to be flexible in choose which how you want to render your front-end and whether or not you want to build an iOS and/or Android app with the same database.
Post a comment