Hello-Rails-React
This project contains the first trial at connecting React on the front-end to Ruby-on-Rails on the backend. The app displays random messages contained in the seed file every time the button is clicked on.
-
Make sure you have Ruby and Postgresql installed on your system.
-
Install rails by running
gem install rails
-
Clone this repository by running
git clone https://github.com/DammyShittu/Hello-Rails-React.git
in your command line. -
Navigate to the repository by running
cd Hello-Rails-React
. -
Run
yarn install
to install all dependencies -
Run
rails db:create
,rails db:migrate
, andrails db:seed
to create, migrate, and use seed data from your database. -
Run
rails s
and go to http:localhost:3000 to view the app.
- Ruby On Rails
- React-Rails gem
- Redux
- Git
๐ค Adedamola Shittu
-
GitHub: @dammyShittu
-
Twitter: @aded_shittu
-
LinkedIn: Adedamola Shittu
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a โญ๏ธ if you like this project!