Skip to content

yhc3l-java/websocket-angular-textarea

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

websocket-angular-textarea

git clone git@github.com:yhc3l-java/websocket-angular-textarea.git
cd websocket-angular-textarea
npm install
node index.js

Open a couple of browsers and surf to http://localhost:8080 . The text area should sync between the two browsers.

websocket server

Code to the server is in index.js

angularjs client

Code for the client is in the public folder.

public/js/factories.js -> The file with the websocket connection. It transforms the websocket event to an angular event, that the controller listens to.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors