Part 3 of 3: Handling Requests Between React and Rails



  1. User visits a URL
  2. An HTTP request is made to this URL
  3. The path is identified in routes.rb, and calls the associated controller action
  4. The controller action executes its logic
  5. The controller action renders a view, passing any relevant return data to the view

Part 2 of 3: Integrating React Router



  • a home page
  • a page that displays a list of posts
  • a page with a form to create a new post

Create and import new components

Part 1 of 3: Setting React as the View Layer

  • Rails 5.2.1
  • Ruby 2.5.3
  • Postgresql
  • Webpacker
  • RSpec
  • React 16
  • React router
  • Axios


Install Ruby 2.5.3

So what is it like to be a software developer?

Setting the Stage

Target audience

What is the best way to add an SVG image to your web development project?

Harry Levine

Software Developer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store