11 ms·
This isn't a full-blown example, but AngularJS works phenomenally as an interaction layer on top of a REST API. Creating such an API with Rails is almost trivia
by _mtr 13y ago
This isn't a full-blown example, but AngularJS works phenomenally as an interaction layer on top of a REST API. Creating such an API with Rails is almost trivial. Postgres + Rails + AngularJS (via Bower) has become my go-to stack and is an absolute blast to develop with.
- joelhooks 13y agoThis is the approach I'm taking for the Admin, actually. Haven't started yet, but really looking forward to it.
- _mtr 13y agoNice. If you're not already familiar with Restangular, be sure to check it out: https://github.com/mgonto/restangular https://github.com/mgonto/restangular I tried rolling my own Angular API service, and it was a great learning experience, but Restangular trumps any vanilla service I could roll.
- Xixi 13y agoI'm pretty much doing the exact same thing, but with django instead of rails. That gives a very nice Postgres + Django + AngularJS. When I need to add realtime feeds I throw RabbitMQ with the Web-Stomp Plugin into the mix: it works amazingly well!
- xormancer 13y agoDo you have a link for a guide or tutorial to doing this?