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

https://github.com/billymohajeri/hello-rails-react

Just a simple project to understand the pros and cons of different approaches of connecting Ruby on Rails back-end with React front-end.
https://github.com/billymohajeri/hello-rails-react

postgresql react ruby-on-rails

Last synced: about 2 months ago
JSON representation

Just a simple project to understand the pros and cons of different approaches of connecting Ruby on Rails back-end with React front-end.

Awesome Lists containing this project

README

          

# 📗 Table of Contents

- [📖 About the Project](#about-project)
- [🛠 Built With](#built-with)
- [Tech Stack](#tech-stack)
- [Key Features](#key-features)
- [💻 Getting Started](#getting-started)
- [Setup](#setup)
- [Prerequisites](#prerequisites)
- [Create database](#create-database)
- [👥 Authors](#authors)
- [🔭 Future Features](#future-features)
- [🤝 Contributing](#contributing)
- [⭐️ Show your support](#support)
- [🙏 Acknowledgements](#acknowledgements)
- [📝 License](#license)

# 📖 Hello World

**Hello World** is a simple repo to test the connection between React and Rails, using Redux store to show some quotes.

## 🛠 Built With

### Tech Stack

### Key Features

- **Fetch greeting from database**
- **Show random greeting**

(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:

- [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:billymohajeri/Hello-Rails-React.git
```

### Install

Install this project with:

```cd Hello-Rails-React```

```bundle install``` to install all gems used.

```rails db:create``` to create the database.

```rails db:migrate``` to run the database migrations you created.

```rails db:seed``` to add some default greetings to the database.

```rails assets:precompile``` to run the compiler.

### Usage

To run the project, execute the following command:
```
rails s
```

(back to top)

## 👥 Authors

👤 **Billy Mohajeri**

- GitHub: [@BillyMohajeri](https://github.com/billymohajeri)
- Twitter: [@BillyMohajeri](https://twitter.com/BillyMohajeri)
- LinkedIn: [@BillyMohajeri](https://www.linkedin.com/in/billymohajeri)

(back to top)

## 🔭 Future Features

- [ ] **Add greeting button**

(back to top)

## 🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the [issues page](../../issues/).

(back to top)

## ⭐️ Show your support

If you like this project, please consider giving it a star.

(back to top)

## 🙏 Acknowledgments

- I would like to thank all code reviewers for making this project better.

(back to top)

## 📝 License

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

(back to top)