How to set up a basic Sinatra + React webapp
17-Jan-2025 11
Let's say you want to use Ruby for the backend of a basic webapp but React on the frontend. Here's how.
(Note: All tested on January 13, 2025 with Ruby 3.3, Sinatra 4.1.1, and React 18.3. Configs may change over time.)
First, create the app folder and set up Sinatra:.
How to set up a basic Sinatra + React webapp #ruby #rubydeveloper #rubyonrails #basic #Sinatra #React #webapp #react #sinatra #webapp https://rubyonrails.ba/link/how-to-set-up-a-basic-sinatra-react-webapp