This is a demo also a simple push server which implemented through nodejs and redis.(contains client)
- start redis-server
- start app.js
- start clientDemo/index.html (better put it in a static server)
- you can use redis cli (java's,node's,whatever) to publish the channel you defined
- you can see the value in index.html changed
If you want to Use in a product environment, you can re-implement with express and add log whatever to enhance the robust of the server.
MIT