https://github.com/code-matt/redux-react-rails-boilerplate
redux-react-rails-boilerplate with jwt authentication
https://github.com/code-matt/redux-react-rails-boilerplate
Last synced: 3 months ago
JSON representation
redux-react-rails-boilerplate with jwt authentication
- Host: GitHub
- URL: https://github.com/code-matt/redux-react-rails-boilerplate
- Owner: code-matt
- Created: 2016-12-01T17:39:50.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-07-27T00:33:59.000Z (almost 9 years ago)
- Last Synced: 2025-04-22T15:49:09.795Z (about 1 year ago)
- Language: JavaScript
- Homepage: https://redux-react-rails-boilerplate.herokuapp.com/
- Size: 1010 KB
- Stars: 10
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Redux-React-Rails-Boilerplate
## https://redux-react-rails-boilerplate.herokuapp.com/
( 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.

### 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...~~ https://github.com/nsarno/knock/issues/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