https://github.com/nning/rails51-websocket-react
Prototype for server push with ActionCable and React
https://github.com/nning/rails51-websocket-react
prototype rails rails5 react websocket
Last synced: 4 months ago
JSON representation
Prototype for server push with ActionCable and React
- Host: GitHub
- URL: https://github.com/nning/rails51-websocket-react
- Owner: nning
- Created: 2017-04-06T13:08:12.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2020-02-25T21:57:14.000Z (over 6 years ago)
- Last Synced: 2025-10-07T13:41:01.326Z (9 months ago)
- Topics: prototype, rails, rails5, react, websocket
- Language: Ruby
- Homepage:
- Size: 49.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Rails 5.1, WebSocket, React Prototype
This application demonstrates the integration of Rails 5.1, ActionCable
(WebSocket), and React to accomplish client live updates via server push.
PostgreSQL and redis servers are required. Run `rake db:seed` to generate
sample data. Updates can be triggered for example by the following commands:
* Create:
`rails runner FactoryGirl.create(:company)`
* Update:
`rails runner Company.first.change`
* Delete:
`rails runner Company.last.destroy`