Hello Rails React App

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.

Screenshots

|Screenshot|

Built With

  • Ruby
  • Ruby on Rails
  • React
  • Redux

Setup

  • 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

Author

👤 Chawanzi Ng'uni

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a ⭐️ if you like this project!

Acknowledgments

  • Microverse
  • Ruby documentation
  • Stack Overflow