× Sign Up/Login League - Community Search League HUDDLES - Group Get Togethers Current Huddles Past Huddles PLAYS - Notes Search Plays PLAYBOOKS - Collection of Notes Search Playbooks WHAT IS JoinIN

Playbook

Sally Kang || Closed || 637 views ||

Socket.io

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


coding/programming

Posted on Friday, December 9th, 2016



× The Huddles this Playbook appears on
Browse
Plays
1
Sign up
or Login
undefined