Rails and Ionic Make Love - A Tutorial (Part One)


#1

Hello friends of Ionic!

We’ve just published an article on setting up a Rails backend for Ionic. We’ve built quite a few apps that use the two frameworks, and these are the best practices we’ve found so far - please let us know what you think!

You can find the post here: http://www.dovetaildigital.io/blog/

This is the first post in a series, soon we’ll dive into user authentication with Devise, and testing across the entire Rails & Ionic stack with Capybara.

We love working with both Ionic and Rails, we find that when they’re wired up correctly the results are dreamy.

Let us know if you have any thoughts or questions, either here or @dovetaildigital.

Yours with fervour,

The Doves


#2

Great stuff, thanks for sharing.
Any reason why you used AMS and not JBuilder?


#3

Hey gmarziou,

Thanks, I’m glad you enjoyed it. You can of course use JBuilder, we prefer the syntax and style of AMS, but there is no right or wrong way here really.

The key is just to expose a consistent API across your resources, so that it is easy to consume through Ionic, or any other clients you may expose it to.

The next post in the series (Devise and user authentication) will be up on our blog within a day or two : )

Cheers,


#4

Sounds interesting, any way of read the tutorials? The blog is down.