This is the React example from Thinking in React.
Start a server with:
ruby server.rb
And visit http://localhost:3000/. Try opening multiple tabs!
You can change the port number by setting the $PORT
environment variable before invoking any of the scripts above, e.g.,
PORT=3001 ruby server.rb