https://github.com/iamsjunaid/hello-rails-react
This is a demo to use Webpack with jsbundling-rails gem in order to use react with rails as front end.
https://github.com/iamsjunaid/hello-rails-react
Last synced: 10 months ago
JSON representation
This is a demo to use Webpack with jsbundling-rails gem in order to use react with rails as front end.
- Host: GitHub
- URL: https://github.com/iamsjunaid/hello-rails-react
- Owner: iamsjunaid
- License: mit
- Created: 2023-09-25T11:07:13.000Z (almost 3 years ago)
- Default Branch: dev
- Last Pushed: 2023-09-26T13:29:13.000Z (almost 3 years ago)
- Last Synced: 2025-01-13T14:53:56.490Z (over 1 year ago)
- Language: Ruby
- Size: 185 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 📗 Table of Contents
- [📗 Table of Contents](#-table-of-contents)
- [📖 Hello Rails React ](#-hello-rails-react-)
- [🛠 Built With ](#-built-with-)
- [Tech Stack ](#tech-stack-)
- [Key Features ](#key-features-)
- [🚀 Live Demo ](#-live-demo-)
- [💻 Getting Started ](#-getting-started-)
- [Prerequisites](#prerequisites)
- [Setup](#setup)
- [Install](#install)
- [Usage ](#usage-)
- [Run tests](#run-tests)
- [Deployment](#deployment)
- [👥 Author ](#-author-)
- [🔭 Future Features ](#-future-features-)
- [🤝 Contributing ](#-contributing-)
- [⭐️ Show your support ](#️-show-your-support-)
- [🙏 Acknowledgments ](#-acknowledgments-)
- [📝 License ](#-license-)
# 📖 Hello Rails React
**Hello Rails React** is an implemention of a connection between Ruby on Rails back-end and React front-end by displaying a random greeting message.
Client
Server
Database
- Display a random greeting message
- N/A
### Prerequisites
In order to run this project you need:
- [Ruby on Rails](https://rubyonrails.org/) installed and running. To get more information, read the [installation guide](https://guides.rubyonrails.org/).
- [PostgreSQL](https://www.postgresql.org/) installed and running
### Setup
Clone this repository to your desired folder:
```
git clone git@github.com:iamsjunaid/hello-rails-react.git
cd hello-rails-react
```
### Install
Install thr project dependencies with:
```
bundle install
rails javascript:install:webpack
rails db:create
rails db:migrate
rails db:seed
```
To run the project, execute the following command:
```
./bin/dev
```
### Run tests
To run all tests, including unit and integration tests, run the following command:
```
rspec
```
### Deployment
You can deploy this project using:
```
N/A
```
## 👥 Author
👤 **Junaid Ahmed Syed**
- GitHub: [@iamsjunaid](https://github.com/iamsjunaid)
- LinkedIn: [junaid-ahmed-syed](https://www.linkedin.com/in/junaidahemedsyed)
- Update styles
Contributions, issues, and feature requests are welcome!
Feel free to check the [issues page](https://github.com/iamsjunaid/Hello-Rails-React/issues).
If you like this project, please give it a star ✨
Thank you to Microverse.
This project is [MIT](https://github.com/iamsjunaid/hello-rails-react/blob/b496d3b8deb995d55a890aaf921915d43634a9cc/LICENSE) licensed.