Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/tb/rails-json-api-react

React + JSON API Redux CRUD
https://github.com/tb/rails-json-api-react

crud json-api rails rails5-api react redux redux-form

Last synced: 17 days ago
JSON representation

React + JSON API Redux CRUD

Awesome Lists containing this project

README

        

# [rails-json-api-react](https://github.com/tb/rails-json-api-react)

by [React Developers @ Selleo](https://selleo.com/react-expert-developers-team)

## [DEMO](https://rails-json-api-react.herokuapp.com)

Demo user: [email protected] / Secret123

## Setup app

bundle
rake db:setup
cd client && yarn

## Start app

foreman start
open http://localhost:3000

## Adding new JSON API resource

rails g model category name:string
rails generate jsonapi:resource category
rails g controller Category --skip-assets

### routes.rb

jsonapi_resources :categories

### Client

Add list, edit and form components in `client/src/components/` based on one of existing.

### License

MIT