Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/arkency/rethinkdb-reactjs

rethinkdb + react.js + ActionController::Live (Rails) + Server Side Events
https://github.com/arkency/rethinkdb-reactjs

Last synced: 5 days ago
JSON representation

rethinkdb + react.js + ActionController::Live (Rails) + Server Side Events

Awesome Lists containing this project

README

        

# RethinkDB + React.JS + Rails - proof of concept

* Just a spike of what could be a cool idea.

[![Watch 20s demo](http://img.youtube.com/vi/P9Upn194b9M/0.jpg)](https://www.youtube.com/watch?v=P9Upn194b9M)

## Where to look for code

* [React component](https://github.com/arkency/rethinkdb-reactjs/blob/master/app/assets/javascripts/components/show_article.js.coffee)
* [First render](https://github.com/arkency/rethinkdb-reactjs/blob/master/app/views/articles/show.html.erb#L4)
* [Establish SSE connection and re-render when new data arrived](https://github.com/arkency/rethinkdb-reactjs/blob/master/app/assets/javascripts/application.js.coffee#L12)
* [RethinkDB communication](https://github.com/arkency/rethinkdb-reactjs/blob/master/app/controllers/start_controller.rb#L26)