Rails Actioncable + Angular Demo

This is a sample running demo project to show how to set up Rails Actioncable and wire up with an Angular frontend.

Start

Install Rails dependencies

  • cd server && bundle install

Install Angular dependencies

  • cd client && bower install

Start Rails server

  • cd server && rails server

Navigate to the application

  • Open http://localhost:3000 in your favourite browser
Send messages live!

Codebase Quick Start

The server directory is a rails scaffolded repo. You might want to checkout the channel code and see how it corresponds to the frontend code

TODO

  • add example on how to authenticate

Related Links

rails actioncable

angular-actioncable

A github project that uses actioncable and react

Is it any good?

Yes

License

MIT