Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/tb/rails-json-api-react
- Owner: tb
- License: mit
- Created: 2017-03-29T12:46:23.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-03-06T08:44:27.000Z (over 5 years ago)
- Last Synced: 2024-10-03T09:54:32.756Z (about 1 month ago)
- Topics: crud, json-api, rails, rails5-api, react, redux, redux-form
- Language: JavaScript
- Homepage:
- Size: 284 KB
- Stars: 22
- Watchers: 4
- Forks: 8
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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