Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/abenezer-tilahun/hello-world-rails-react


https://github.com/abenezer-tilahun/hello-world-rails-react

Last synced: 6 days ago
JSON representation

Awesome Lists containing this project

README

        

# Hello-world-rails-react

This is an educational project to practice building React components as a part of your Rails JavaScript and serve it in a component, react_component, to be used in a regular ERB file.

## Built with

- Ruby on Rails
- React / Redux
- PostgreSQL

### Prerequisites

- Ruby 3+
- Rails 7
- Postgresql
- React

## Get Started

- Clone this repository with https://github.com/Abenezer-Tilahun/Hello-world-rails-react.git using your terminal or command line.
- Change to the project directory by entering cd Hello-world-rails-react in the terminal.
- run bundle install to install the necessary dependencies.
- run rails db:create
- Run rails db:migrate to setup your local database.
- Run sudo service postgresql start to start the database service.
- Finally, run rails s to start the application.

> If you face any issues on installing application you can fix it by running the following command
- yarn add @rails/webpacker
- bundle update webpacker

## Author

👤 **Abenezer Tilahun**

- GitHub: [Abenezer-Tilahun](https://github.com/Abenezer-Tilahun)
- Twitter: [@AbenezerTilahun11](https://twitter.com/AbenezerTilah11)
- LinkedIn: [@abenezer-tilahun](https://abenezer-tilahun.github.io/My-Portfolio/)

### Acknowledgments

- Microverse

### 📝 License

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