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.
- Host: GitHub
- URL: https://github.com/bushmusi/hello-rails-react
- Owner: bushmusi
- Created: 2022-07-14T20:06:49.000Z (almost 3 years ago)
- Default Branch: develop
- Last Pushed: 2022-07-15T13:50:00.000Z (almost 3 years ago)
- Last Synced: 2025-01-09T00:43:12.322Z (5 months ago)
- Language: Ruby
- Size: 437 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 run1. ``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 db1. ``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)