React-Rails Greetings is a beginner-friendly project that demonstrates how to connect a Ruby on Rails back-end with a React front-end using Webpack. This project helps you achieve the following learning objectives:
- Implement a connection between a Ruby on Rails back-end and a React front-end.
- Understand the pros and cons of different approaches for connecting Ruby on Rails with React.
Technologies
Linters
- Rubocop
- Style lint
- Ruby on Rails and React Integration
- API Endpoint for Random Greetings
- React Router for Navigation
- Redux State Management
- Static View as Root
- Professional Documentation
- Linting for Code Quality
- Postgres Database
- Git Version Control
- Interactive User Interface
To get a local copy up and running, follow these steps.
Before you begin, make sure you have the following prerequisites installed on your system:
- Ruby: You need Ruby to run the Ruby on Rails application.
- Bundler: Bundler is used to manage gem dependencies in your Ruby project.
Clone this repository to your desired folder:
git clone https://github.com/hafiz1379/Hello-rails-react.git
cd hello-rails-react
Install this project with:
- gem install rails
- bundle install
- npm install
- npm install -g webpack
To run the project, execute the following command:
./bin/dev
👤 Hafizullah Rasa
- GitHub: Hafiz Rasa
- LinkedIn: Hafiz Rasa
- Personalized Greetings
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
If you like this project please feel free to send me corrections to make it better. I would be glad to read your comments. If you enjoy it, consider giving me a star!
- Microverse for providing the opportunity to learn Git and GitHub in a collaborative environment.
- GitHub Docs for providing a wealth of information on Git and GitHub.
-
Can I use your project as a template?
- Of course, I would be honored.
-
Is your project freely licensed?
- Yes, you can use it completely.
This project is licensed under the MIT License - you can click here to have more details MIT.