/Hello-rails-react

This is a repo to learn how to connect rails with react.

Primary LanguageRubyMIT LicenseMIT

React-Rails Greetings

📗 Table of Contents

📖 React-Rails Greetings

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.

🛠 Built With

Technologies

Technologies
Linters
  • Rubocop
  • Style lint

Key Features

  • 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

(back to top)

💻 Getting Started

To get a local copy up and running, follow these steps.

Prerequisites

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.

Setup

Clone this repository to your desired folder:

git clone https://github.com/hafiz1379/Hello-rails-react.git
cd hello-rails-react

Install

Install this project with:

  • gem install rails
  • bundle install
  • npm install
  • npm install -g webpack

Usage

To run the project, execute the following command:

./bin/dev

👥 Authors

👤 Hafizullah Rasa

(back to top)

🔭 Future Features

  • Personalized Greetings

(back to top)

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

(back to top)

⭐️ Show your Support

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!

(back to top)

🙏 Acknowledgments

  • 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.

(back to top)

❓ FAQ (Optional)

  • 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.

(back to top)

📝 License

This project is licensed under the MIT License - you can click here to have more details MIT.

(back to top)