The rubix/rails/rails-example app is a complete implementation of the following tutorial. If you find yourself getting stuck in any part of the tutorial please refer to the source code of the rails-example app. For any other issues get in touch with us at firstname.lastname@example.org
Knowledge of Ruby on Rails and React is assumed.
The Application structure resembles a normal Rails app structure with a few extra files/folders that are used for building React code. The new files/folders are marked with a [+] symbol next to it.
. ├── .babelrc [+] ├── .bowerrc [+] ├── .gitignore ├── Gemfile ├── Gemfile.lock ├── README.md ├── Rakefile ├── app ├── bin ├── bower.json [+] ├── config ├── config.ru ├── db ├── lib ├── log ├── node_modules [+] ├── package.json [+] ├── public ├── sass [+] ├── src [+] ├── test ├── tmp ├── tools [+] └── vendor
Here is a quick description of the extra files/folders included in the Laravel starter kit:
bower.jsonis a file that contains all packages managed by Bower.
package.jsonis a file that contains all packages managed by NPM.
node_modulesis a folder created by NPM which has all the Node modules installed.
srcfolder contains all the client-side Rubix source code.
sassfolder contains all the client-side Rubix SASS files.
toolsfolder has config files required by Webpack development server to compile the source files defined in the