Yo! Last month I’ve joined SellAnyCar.com my first project at SAC (along with some other) is a real time application based on nodeJS and socketIO framework, its a real time server which helps in real-time bidirectional communication between customer and inspectors.
Since this was my first real time based application I’ve found socketIO extremely convenient in terms of integration just few lines of code will make an real time application up and running however their documentation is not the best documentation on the face of earth but still good for some initial inspiration http://socket.io/docs/
Enuf said
After working on socketIO couple of weeks I was looking for some idea to make an experiment with socketIO and show off my real time skills :D so yesterday I decided to add real time support in my first nodejs experiment which is basically an url-shortener application. I’ve made socketIO integration which updates every client upon new short url creation as shown in bellow screen grab.
The app is deployed on heroku (as you can see in above screen grab) and code can be viewed at github @ https://github.com/minhajkk/nodejs-url-shortener
Extras
- How to make your sockets secure?
- How to send a message to a specific client with socket.io?
- Dynamic rooms with Socket.io and Node
Please feel free to use comment box bellow for Any feedback, suggestion or questions? Cheers!