An open API service indexing awesome lists of open source software.

https://github.com/bushmusi/hello-rails-react

This project is about to use 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.
https://github.com/bushmusi/hello-rails-react

Last synced: 4 months ago
JSON representation

This project is about to use 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.

Awesome Lists containing this project

README

        

# Hello Rails React

This is app is will display random greetings from rails api. The app is using React and Rails in same app.

# Built With
- Ruby on Rails
- React
- Redux

# Additional Tools
1. Rubocop
2. Stylelint
3. Ruby Gems

# Getting Started
To get local copy of the project and run

1. ``git clone https://github.com/bushmusi/hello-rails-react``
2. ``cd hello-rails-react``
3. ``gem install bundler``
4. ``bundle install``
5. ``rails s``

## Database Setup
Setup db

1. ``su - postgres``
2. ``psql``
3. ``create role budget with createdb login password 'budget'``
4. ``rails db:setup``
5. ``rails db:create``

# Tests

1. ``bundle exec rspec``
2. ``rubocop``

## Authors

👤 **Bushra Mustofa**

- GitHub: [@bushmusi](https://github.com/bushmusi)
- Twitter: [@bushera_mestofa](https://twitter.com/bushera_mestofa)
- LinkedIn: [LinkedIn](https://www.linkedin.com/in/bushra-mustofa)

## 🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the [issues page](https://github.com/bushmusi/hello-rails-react/issues).

## Show your support

Give a ⭐️ if you like this project!

## Acknowledgments

- Microverse: [microverse community](https://github.com/microverseinc)