Skip to content
React + JSON API Redux CRUD
JavaScript Ruby Other
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bin
client
config
db
lib/tasks
log
server/tmp
spec
test
tmp
.foreman
.gitignore
.rspec
.ruby-gemset
.ruby-version
Gemfile
Gemfile.lock
LICENSE
Procfile
Procfile.dev
README.md
Rakefile
config.ru
package.json
yarn.lock

README.md

rails-json-api-react

by React Developers @ Selleo

DEMO

Demo user: user1@example.com / 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

You can’t perform that action at this time.