Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tufoinnkuo10/hello-rails-react
https://github.com/tufoinnkuo10/hello-rails-react
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/tufoinnkuo10/hello-rails-react
- Owner: tufoinnkuo10
- Created: 2022-02-22T22:40:26.000Z (almost 3 years ago)
- Default Branch: dev
- Last Pushed: 2022-02-23T17:46:41.000Z (almost 3 years ago)
- Last Synced: 2023-03-08T19:17:19.680Z (almost 2 years ago)
- Language: Ruby
- Size: 1.05 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.