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: 19 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 (about 8 years ago)
- Default Branch: master
- Last Pushed: 2019-03-06T08:44:27.000Z (about 6 years ago)
- Last Synced: 2025-03-30T08:32:17.185Z (about 2 months ago)
- Topics: crud, json-api, rails, rails5-api, react, redux, redux-form
- Language: JavaScript
- Homepage:
- Size: 284 KB
- Stars: 23
- Watchers: 3
- 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