tb / rails-json-api-react

React + JSON API Redux CRUD

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

by React Developers @ Selleo

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

About

React + JSON API Redux CRUD

License:MIT License


Languages

Language:JavaScript 56.8%Language:Ruby 42.3%Language:HTML 0.8%Language:CSS 0.0%