Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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


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

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

![](https://img.shields.io/badge/Microverse-blueviolet)

# Project Name
## React Rails Display app
- This is basic project for understand react-rails working together.
- API created with ruby on rails.
- After refreshing page it gets random greetings from the Api and displays in home page

## Built With
* Ruby on Rails
* React
* Redux
* Psql

## Sample view
> ![screenshot](demoshot.png)

## Getting Started

### Prerequisites

* Ruby (ruby --v 2.7.5)
* Postgrestsql (psql --version)
* Node.js (node --v)
* Yarn (yarn --v)

To get a local copy up and running follow these simple example steps.

Run in your terminal `git clone https://github.com/tufoinnkuo10/Transaction_App`

### Install RSpec

To run the tests locally :

* To instal RSpec for testing please run the following command on your terminal:

` gem install rspec`

` run rails rspec spec/models`

### Helpful links to solve some issues

* [Could not find gem](https://stackoverflow.com/questions/32491201/could-not-find-gem-pg-0-12-4-ruby-in-any-of-the-gem-sources-listed-in-your)
* [Install psql](https://harshityadav95.medium.com/postgresql-in-windows-subsystem-for-linux-wsl-6dc751ac1ff3)
* [PG:: InsufficientPrivilege: ERROR: must be owner of database blog_app_development](https://stackoverflow.com/questions/25610753/activerecordstatementinvalid-pgerror-error-must-be-owner-of-database)

## Run the application
-connect to your psql
- run `rails s` in your terminal

## Author

👤 **Tufoin Nkuo**
* GitHub: [@tufoinnkuo10](https://github.com/tufoinnkuo10)
* Twitter: [@itztenten](https://twitter.com/itztenten)
* LinkedIn: [@tufoinnkuo10](https://www.linkedin.com/in/tufoin-nkuo-3b272320b)

## 🤝 Contributing

Contributions, issues, and feature requests are welcome!

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

## Show your support

Give a ⭐️ if you like this project!

## Acknowledgments

- A special thanks to Microverse for inspiring this project. We are indebted to you all at Microverse
- A special thanks goes to all our peers at Microverse for being there for us.

## 📝 License

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