hello-rails-react

Stars
5

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

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a ⭐️ if you like this project!

Acknowledgments

  • Thanks to my family for their support

📝 License

This project is MIT licensed.