Hello Rails React App demonstrates the use of the react-rails gem. This gem allows you to build React components as a part of your Rails JavaScript and serve it in a component, react_component, to be used in a regular ERB file.
- Ruby
- Ruby on Rails
- React
- Redux
- Get the link of the repository: https://github.com/chaw-bot/hello-rails-react
- Clone it as
git@github.com:chaw-bot/hello-rails-react.git
on a Terminal - Usage
- Run
npm install
- Run
bundle install
on a Terminal to get Gemfile dependencies. - Run
yarn install
on a Terminal - Run
sudo service postgresql start
to start the server - Run
rails db:setup
to create the database and run migrations - Run
rails db:seed
to load data from the seeds.rb - Start the server by running
rails s
👤 Chawanzi Ng'uni
- GitHub: @chaw-bot
- Twitter: @chaw
- LinkedIn: Chawanzi Ng'uni
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
- Microverse
- Ruby documentation
- Stack Overflow