Setup was done using this very helpful tutorial by Charlie Gleason with a few adjustments.
Includes:
- React Front End
- Bootstrap
- Rails 5 API
- ActiveAdmin
- (heroku-ready)
Instructions:
git clone {github-project-url}
cd {project-folder}/client
npm install
cd ..
rails start
class _____Controller < ApiController
end
after running rails start
check that the admin panel can be accessed at http://localhost:3001/admin
rails g scaffold {Model}
rails g active_admin::resource {Model}
in app/admin/{model}.rb
add
permit_params :{param_name}