Playbook

This Playbook is Closed

Socket.io


231 views

SHARE:

~ Sally Kang ~


coding/programming


Summary


Building live chat and notifications from scratch through Socket.io plugin. (Using Node.js & Mongo Database)

 

Installation: 

  $npm install socket.io --save

 

Server side:

  var io = require('socket.io')

     io.on('connection', function (socket) {

     //...code here...}

 

Client side: 

  var socket = io();

 

 

Socket.io Diagram

More info here: socket.io

Posted on Friday, December 9th, 2016


Thank you for your comment

No comments to see.

Awaiting 0 teammates to JoinIN

Plays

× The Huddles this Playbook appears on
Alert! To JoinIN and Collaborate, please Sign Up/Login

Plays On this Playbook

Number of Plays 1
Number of Plays

1

Live Messages
Coding/Programming

View Play Quick View