/react_rails_template

Template for creating React/Rails apps with auth

Primary LanguageHTML

README

Getting Started

  1. Clone the repository
  2. Install Ruby dependencies with bundle install
  3. Install JS dependencies with yarn install
  4. Create databases for dev and test bundle exec rake db:create db:migrate
  5. Replace the error email address in defaultErrorBoundary.js

Development

  1. Run dev server with yarn start
  2. Run Ruby specs with rspec
  3. Run JS specs with yarn test

Production

  1. Update the API_HOST constant in config/webpack/production.js