Hacker News new | ask | show | jobs
by ewoutkleinsmann 4350 days ago
We (10KB) have built our own CMS combining Rails and AngularJS. Our main goal for our CMS was to turn every website made with it in a Single-Page Application, but at the same time maintain support for server-side rendering.

We loved the combination of Rails and AngularJS, but we didn't like that we had to write a lot of stuff twice (ie. Rails routes & Angular routes, Rails controllers & Angular controllers). Therefore we have written quite some glue code to automatically generate AngularJS code from our Rails code. I have been wanting to make a full write-up of all our experience in combining Angular & Rails for a while now, but didn't get to it yet. I did write-up a quick and dirty way to automatically generate Angular Resources from you Rails controllers, though. (http://10kb.nl/blog/automatically-generate-angular-resources...)

And, if anyone has any questions about combining Rails & Angular feel free to shoot me an e-mail.

2 comments

I'm building something like this, but in node: https://github.com/martindale/maki
That's an awesome idea. I'll definitely check your stuff out.