Skip to content

code-matt/redux-react-rails-boilerplate

Repository files navigation

Redux-React-Rails-Boilerplate

( free heroku dyno, give it some time to spin up)

  • Redux
  • React
  • Rails5
  • scss
  • Material Design Lite
  • FontAwesome
  • ReactToastr Notifications

The master branch is semi-educational. Have no experience with this stack? Follow the simple demo code. There are notifications and mouseovers trying to explain what is going on as far as Redux containers and Redux actions go.

Screenshot

Caviats

  • Ruby/Rails/Bundler Setup - It's beyond the scope of this readme to help you with this, it can be something of a long process given your setup. If you are on Windows, God help you. Here are some usefull links: https://github.com/rbenv/rbenv https://github.com/bundler/bundler

  • OAuth - Knock does not support multiple authentication strategies out of the box... nsarno/knock#11 see here for an implementatioon of facebook OAuth!

Installation:

Do a search and replace on the entire project for 'ReduxReactRails' in order to change the psql database and project name.

bundle install
rails db:create
rails db:migrate
rails db:seed
cd client
npm install
Prod:

Change your production host to localhost also for now in /client/.env before you build.

cd client
npm run build
cd ..
rails s
visit localhost:3000
Dev:
Tab1:
rails s -p 3001
Tab2:
cd client
npm start
visit localhost:3000

Contribute!

  • Clone it
  • Create your feature branch
  • Commit your changes
  • Push to the branch
  • Create a new Pull Request

About

redux-react-rails-boilerplate with jwt authentication

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published