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.
- Host: GitHub
- URL: https://github.com/billymohajeri/hello-rails-react
- Owner: billymohajeri
- Created: 2023-05-08T07:56:13.000Z (about 3 years ago)
- Default Branch: dev
- Last Pushed: 2023-05-09T14:35:51.000Z (about 3 years ago)
- Last Synced: 2025-09-08T07:41:14.537Z (10 months ago)
- Topics: postgresql, react, ruby-on-rails
- Language: Ruby
- Homepage:
- Size: 310 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE/MIT.md
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** is a simple repo to test the connection between React and Rails, using Redux store to show some quotes.
- **Fetch greeting from database**
- **Show random greeting**
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
```
👤 **Billy Mohajeri**
- GitHub: [@BillyMohajeri](https://github.com/billymohajeri)
- Twitter: [@BillyMohajeri](https://twitter.com/BillyMohajeri)
- LinkedIn: [@BillyMohajeri](https://www.linkedin.com/in/billymohajeri)
- [ ] **Add greeting button**
Contributions, issues, and feature requests are welcome!
Feel free to check the [issues page](../../issues/).
If you like this project, please consider giving it a star.
- I would like to thank all code reviewers for making this project better.
This project is [MIT](./LICENSE/MIT.md) licensed.