This project is about getting our hands dirty with a Rails app with react. The main go is to connect a Rails and a React as one app, Rails for the backend, and React for the UI.
Additional description of the project and its features.
- Rails-React gem
- Ruby
- Ruby on Rails
To get a local copy up and running follow these simple example steps.
Ruby: 2.7.2 Rails: 6.1.4 Postgres: >=9.5 Node.js
git clone
and paste :https://github.com/elyor-doniyorov/hello-react-rails.git
Instal gems with:
bundle install
npm i react_ujs
Setup database with:
rails db:create
rails db:migrate
rails db:seed
Start webpacker dev server with:
./bin/webpack-dev-server
Start server with:
rails server
Open http://localhost:3000/
in your browser.
👤 Elyor Doniyorov
- Github: @elyor-doniyorov
- LinkedIn: @elyor-doniyorov
Contributions, issues and requests are welcome
Give a star if you like the project