This is a socket server example made with:
-
Ruby on Rails
-
Socket IO
-
Redis
-
NodeJS
Just a Rest API (very simple) that publishes events to Redis and a Node server wich subscribes these events.
-
Initialize Redis server
$redis-server
-
Initialize Node server (inside nodejs folder)
$node server.js
-
Initialize Rails server
$rails server