Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 478 Bytes

README.md

File metadata and controls

28 lines (17 loc) · 478 Bytes

RAILS & REACT TEMPLATE

Ready to deploy Heroku, Rails and React setup.

Webpacker

  • Activated with this command:
  • bundle exec rails webpacker:install:react

https://github.com/rails/webpacker/blob/master/docs/integrations.md#react

Routes

  Rails.application.routes.draw do
    root 'pages#index'

    get '*path', to: 'pages#index', via: :all
  end

Linters

  • React linter activated for /app/javascript folder only.

Tests

  • npm test