Skip to content

noise/SockJSTests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Overview

A simple prototype to test out SockJS w/Redis pub/sub for a scalable push channel

First, install stuff

brew install node 
brew install redis
curl http://npmjs.org/install.sh | sh
npm install redis
npm install sockjs
npm install node-static

Start servers

redis-server
node notification.js

Load client pages

http://localhost:8000

Send some messages

Either from each client or via the API

curl -X POST -d "uid=1234" -d "msg=hello to 1234" http://localhost:8001
curl -X POST -d "msg=hello to all" http://localhost:8001

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published