Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Push Notifications example using express.js, socket.io - powered by a Rails app
Branch: master
Pull request Compare This branch is even with gautamrege:master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
config
db
doc
lib
log
node
public
script
test
vendor
.gitignore
Gemfile
Gemfile.lock
README.rdoc
Rakefile
config.ru
notify.js
package.json

README.rdoc

Pusher

This is a demonstration for socket.io, express.js and Rails notifications

  1. bundle install

  2. rake db:seed

  3. node node/notify.js

  4. rails s

This is a demo repository for sending messages to users. Currently its just simple one message to another. We can enhance this to trigger notifications in the server itself

There are 3 pre-registered users: gautam@example.com / abcd123 sethu@example.com / abcd123 admin@example.com / abcd123

When you login via any of these, you can send messages to the other users from a simple form

Something went wrong with that request. Please try again.