Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/arkency/rethinkdb-reactjs
- Owner: arkency
- Created: 2015-04-26T13:58:26.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-04-26T14:08:24.000Z (over 9 years ago)
- Last Synced: 2024-07-23T03:39:16.741Z (4 months ago)
- Language: Ruby
- Size: 148 KB
- Stars: 22
- Watchers: 14
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)