A Ruby on Rails API & React project
rails s
cd client && yarn start
yarn build
- bundle update
- rake db:migrate
- rake db:rollback
- rails s
- rails c
- dropdb iot-rex_development
- heroku pg:pull iot-rex_development --app iot-rex
- heroku pg:reset --app iot-rex-stage --confirm iot-rex-stage
- heroku pg:push iot-rex_development --app iot-rex-stage
- git push heroku master
- heroku logs --tail
- heroku run rake db:migrate
- heroku run rails c
- heroku restart
- https://www.freecodecamp.org/news/how-to-create-a-rails-project-with-a-react-and-redux-front-end-8b01e17a1db/
- https://medium.com/@bruno_boehm/reactjs-ruby-on-rails-api-heroku-app-2645c93f0814
- https://medium.com/@eth3rnit3/create-react-app-rails-6-0-custom-server-deployment-part-1-development-configuration-92ce11ea9c56
- https://medium.com/@mazik.wyry/rails-5-api-jwt-setup-in-minutes-using-devise-71670fd4ed03