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

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


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

Last synced: 10 months ago
JSON representation

Awesome Lists containing this project

README

          

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

# HELLO RAILS REACT

> Basic set up of a Rails project to use React and Redux, project created with the purpose of learnig how to add React and Redux to Rails.

## Built With

- Ruby, Javascript
- Ruby on Rails, React, Redux

## Getting Started

**This is an example of how you may give instructions on setting up your project locally.**
**Modify this file to match your project, remove sections that don't apply. For example: delete the testing section if the currect project doesn't require testing.**

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

### Prerequisites

To use this project you first need to have installed the following:

+ Node.js
+ Ruby
+ PostgreSQL
+ Rails

* Ruby version

The version of ruby that is needed for this project is

+ 3.1.1

### Setup

Once you have installed them, you need to use the following command to clone the repository:

```git clone https://github.com/Yothu/budget-app-capstone.git```

### Database creation

Next, use this command to create the databases:
```rake db:create```

Use this command to run the migrations if necesessary:
```rails db:migrate```
### Install

To add 5 greetings into the database, first you need to access the rails console, you can do it with this command:
```rails c```

Once you are inside use this template to create the greetings:

```Greeting.create(message: [MESSAGE])```

Once you are finished, exit the console with this command:
```exit```

### Usage

Finally, use the following command to initialize the live server:

```rails s```

## Author

👤 **David Vergaray**

- GitHub: [@Yothu](https://github.com/Yothu)
- Twiter: [@Daivhy](https://twitter.com/Daivhy)
- LinkedIn: [David Vergaray](https://www.linkedin.com/in/david-vergaray-almontes-051a11127/)

## 🤝 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

- Thanks to my family for their support

## 📝 License

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