The happy_seed react generator
react_on_railsas well as npm.
You want to be able to use react within your rails project and
react_on_rails is great. Consult the docs for this gem here.. Check out the Hello World react app at
http://localhost:3000/hello_world. Reference the reactonrails docs for a detailed explanation. You can start by looking in the
client folder to see how the Hello World app was built.
When running the generator, if you notice npm throwing errors like
npmERR! Error: EACCES: permission denied, mkdir. Run
sudo chown -R $USER:$GROUP ~/.npm.