initiatived21/d21

View on GitHub
REACT_ON_RAILS.md

Summary

Maintainability
Test Coverage
The `react_on_rails` gem has been installed. You can view the documentation online at
[React on Rails](https://github.com/shakacode/react_on_rails).

Also, check out the [example application](https://github.com/shakacode/react-webpack-rails-tutorial/blob/master/client/server.js)
for a live example and code.

The "Hello World" example has been installed.

+ The view is located at `app/views/hello_world/index.html.erb`
+ The controller is located at `app/controllers/hello_world_controller.rb`

See [the documentation](https://github.com/shakacode/react_on_rails) for how to build your bundles and
install your packages. Then you can view the example as follows:

- Rails Server: [localhost:3000/hello_world](http://localhost:3000/hello_world)
- Webpack Development Server with HMR: [localhost:4000/hello_world](http://localhost:4000/hello_world)