A simple repo for testing how to run React in a Ror project. It consists on a react component rendering a random greeting message fetched from the '/greetings' API endpoint created with rails.
- Ruby on rails
- React
- Webpack
To get a local copy up and running follow these simple example steps.
Rails 7
Ruby v 3.1.2
Clone this repo and open it locally:
git clone git@github.com:GiuseppeTG/React-Rails-Hello.git
cd React-Rails-Hello
- npm install
- bundle install
rails db:create db:migrate db:seed rails s
👤 Giuseppe Tomasini
- GitHub: @GiuseppeTG
- Twitter: @giusetomasini
- LinkedIn: Giuseppe Tomasini
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
This project is MIT licensed.