An open API service indexing awesome lists of open source software.

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.

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-)

# 📖 Hello React Rails

> This is a single app with Rails as backend and React as frontend

## 🛠 Built With

Tech Stack


- Ruby on Rails
- React.js
- PSQL

### Key Features

- Display Random Greeting message

(back to top)

## 💻 Getting Started

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
```

(back to top)

## 👥 Authors

👤 **Salim Bamahfoodh**

- GitHub: [@salimer](https://github.com/salimer)

(back to top)

## 🔭 Future Features

- Add GUI

(back to top)

## 🤝 Contributing

Contributions, issues, and feature requests are welcome!

(back to top)

## ⭐️ Show your support

If you like this project, give it a star.

(back to top)

## 🙏 Acknowledgments

- Thanks to all Microverse community

(back to top)

## 📝 License

This project is [MIT](./LICENSE) licensed.

(back to top)