Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nukosuke/rails-react-template

react_on_rails Isomorphic-Single-Page-Application template
https://github.com/nukosuke/rails-react-template

rails react react-router redux sample server-side-rendering spa

Last synced: about 1 month ago
JSON representation

react_on_rails Isomorphic-Single-Page-Application template

Awesome Lists containing this project

README

        

# rails react template
This is [react_on_rails](https://github.com/shakacode/react_on_rails) + [react-router](https://github.com/ReactTraining/react-router) SPA template.

## stack
- rails
- react_on_rails
- react
- react-router
- redux

## usage

```sh
# in root dir
$ bundle install

# in client/ dir
$ yarn install

# back to root dir
$ foreman start -f Procfile.dev
```

## reference

- [Using React Router | react on rails](https://github.com/shakacode/react_on_rails/blob/master/docs/additional-reading/react-router.md)
- [Ruby on Rails on React on SSR on SPA](http://r7kamura.hatenablog.com/entry/2016/10/10/173610)