https://github.com/codehass/hello-rails-react
https://github.com/codehass/hello-rails-react
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/codehass/hello-rails-react
- Owner: codehass
- License: mit
- Created: 2023-05-02T18:13:16.000Z (over 2 years ago)
- Default Branch: dev
- Last Pushed: 2023-05-03T23:23:45.000Z (over 2 years ago)
- Last Synced: 2025-03-12T09:44:52.840Z (11 months ago)
- Language: Ruby
- Size: 149 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 📗 Table of Contents
- [📗 Table of Contents](#-table-of-contents)
- [📖 hello-rails-react ](#-practice-test-driven-developmenttdd-)
- [🛠 Built With ](#-built-with-)
- [🛠 Tech Stack ](#-tech-stack-)
- [Key Features ](#key-features-)
- [💻 Getting Started ](#-getting-started-)
- [Prerequisites](#prerequisites)
- [Setup](#setup)
- [Install](#install)
- [Usage](#usage)
- [👥 Authors](#-authors)
- [🤝 Contributing ](#-contributing-)
- [⭐️ Show your support ](#️-show-your-support-)
- [🙏 Acknowledgments ](#-acknowledgments-)
- [📝 License ](#-license-)
Hello Rails React" is a straightforward web application that integrates the capabilities of both Ruby on Rails and React. Through its backend API, users are able to obtain a random greeting.
## Render Deploy 🚀
> [Live demo]()
## Video demo
> [Video demo]()
>
>
>
> - Generate randoms greetings.
## To get a local copy up and running, follow these steps.
### Prerequisites
In order to run this project you need:
- Mac or PC
- Install Ruby
- Install Rails
- Install Postgresql
- Understanding of Ruby
### Setup
- Clone this repository to your desired folder:
```sh
git clone https://github.com/codehass/hello-rails-react.git
```
- Navigate into the cloned folder
```sh
cd hello-rails-react
```
- Install this project with:
```sh
bundle install
```
- Set up the database
Change the username and password of your postgres account in `config/database.yml`
```sh
rails db:create db:migrate
```
- Start the server
```sh
rails s
```
- Run tests
```sh
rails db:migrate RAILS_ENV=test
```
```sh
rspec spec
```
- if it shows error try using this command
```sh
bundle exec rspec spec
```
👤 **Hassan EL OUARDY**
- GitHub: [@codehass](https://github.com/codehass)
- Twitter: [@hassanelourdy](https://twitter.com/hassanelourdy)
- LinkedIn: [Hassan El OUARDY](https://www.linkedin.com/in/hassan-el-ouardy-360b99169/)
Contributions, issues, and feature requests are welcome!
Feel free to check the [issues page](https://github.com/codehass/Budget-app/issues).
If you like this project, please leave a ⭐️
- I would like to thank Microverse for providing us with reading materials that aided us to during the project development
This project is [MIT](./LICENCE) licensed.