Building a Real Time Scoreboard with Ruby on Rails and CableReady

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • hiredis-rb

    Ruby wrapper for hiredis

  • Although Redis is not technically required in development for CableReady, we’ll use it and hiredis to match the installation guidance from CableReady.

  • scoreboard_ready

  • Today we explored how to add CableReady and Stimulus onto the core Rails ActionCable package to enable real-time DOM manipulations without writing tons of JavaScript, worrying about client-side state management, or doing much outside of writing pretty standard Rails code. The complete source code for this demo application is on Github.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • turbo

    The speed of a single-page web application without having to write any JavaScript (by hotwired)

  • Although Hotwire's Turbo library garnered a lot of attention, the Rails community has been working for years to improve the toolset we have to build modern, full-stack Rails applications. Turbo isn't the first attempt at giving Rails developers the tools they need.

  • Stimulus

    A modest JavaScript framework for the HTML you already have

  • Today we're going to explore CableReady by using Rails, CableReady, and Stimulus to build a scoreboard that updates for viewers in real-time, with just a few lines of Ruby and JavaScript.

  • hotwire-rails

    Discontinued Use Hotwire in your Ruby on Rails app

  • Read the Hotwire documentation

  • stimulus_reflex

    Build reactive applications with the Rails tooling you already know and love.

  • One of the most important of these projects is CableReady, which powers StimulusReflex and Optimism, along with standing on its own as a tool to:

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts