https://github.com/salimer/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/salimer/hello-rails-react
Last synced: 9 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/salimer/hello-rails-react
- Owner: Salimer
- License: mit
- Created: 2023-09-18T09:11:21.000Z (over 2 years ago)
- Default Branch: develop
- Last Pushed: 2023-09-19T11:27:37.000Z (over 2 years ago)
- Last Synced: 2025-07-27T14:02:44.617Z (11 months ago)
- Language: Ruby
- Size: 153 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Hello Rails React
# 📗 Table of Contents
- [📗 Table of Contents](#-table-of-contents)
- [📖 Hello React Rails ](#-hello-react-rails-)
- [🛠 Built With ](#-built-with-)
- [Key Features ](#key-features-)
- [💻 Getting Started ](#-getting-started-)
- [Prerequisites](#prerequisites)
- [Setup](#setup)
- [Install](#install)
- [Usage](#usage)
- [Run tests](#run-tests)
- [👥 Authors ](#-authors-)
- [🔭 Future Features ](#-future-features-)
- [🤝 Contributing ](#-contributing-)
- [⭐️ Show your support ](#️-show-your-support-)
- [🙏 Acknowledgments ](#-acknowledgments-)
- [📝 License ](#-license-)
> This is a single app with Rails as backend and React as frontend
Tech Stack
- Ruby on Rails
- React.js
- PSQL
- Display Random Greeting message
To get a local copy up and running, follow these steps.
### Prerequisites
In order to run this project you need:
Example command:
```sh
Install Ruby
Install rails
```
### Setup
Clone this repository to your desired folder:
```sh
cd my-folder
git clone https://github.com/misalazeem/Hello-rails-react.git
```
### Install
To install dependencies Run the following commands:
```sh
yarn install
bundle install
```
### Usage
To run the project, execute the following command:
```sh
npm run build
rails s
```
### Run tests
To run tests, run the following command:
```sh
rails test
```
👤 **Salim Bamahfoodh**
- GitHub: [@salimer](https://github.com/salimer)
- Add GUI
Contributions, issues, and feature requests are welcome!
If you like this project, give it a star.
- Thanks to all Microverse community
This project is [MIT](./LICENSE) licensed.