/rails_react_example

An example application to work out the kinks with react rails

Primary LanguageRuby

README

This is an example application to explore using react-rails.

It uses the React Rails gem to add react to the Rails asset pipeline and provide some convenience methods.

The approach in this sample app is to use Rails server-side routing while leveraging React on individual pages within the application.

To get up and running, clone this repo, bundle, and rake as normal.

  • Ruby 2.2.3
  • Rails 4.2.4

Testing

bundle exec rspec