/reactrb-examples

Example apps using React.rb including Rails & Sinatra

Primary LanguageRuby

Reactrb Example Apps

Reactrb is a complete React.js Opal Ruby wrapper.

Visit reactrb.org For The Full Story

Join the chat at https://gitter.im/reactrb/chat

Getting Started

git clone https://github.com/reactrb/reactrb-examples.git.

To see some live examples in action, cd to the project directory then:

  1. cd reactrb
  2. bundle install
  3. bundle exec rackup
  4. Open http://localhost:9292

or

  1. cd rails
  2. bundle install
  3. bundle exec rails s
  4. Open http://localhost:3000

or

  1. cd sinatra
  2. bundle install
  3. bundle exec rackup
  4. Open http://localhost:9292

Note that these are very simple examples, for the purpose of showing how to configure the gem in various server environments. For more examples and information see reactrb.org.

Other Examples

  • Reactive To-Do - a sample app that makes use of reactive-record for persistence
  • ReactRb Tutorial - a step by step tutorial for creating a reactive to-do app