danzen / zim-socket-server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

socket_server

ZIM Socket Server is a multiuser server for the ZIM JavaScript Canvas Framework at https://zimjs.com. The server works with ZIM Socket available on NPM at @zimjs/socket.

NPM

This repository holds the NPM package so you can install from @zimjs/socket-server on NPM.

There is a test index.html file in the public directory. To run this follow these instructions:

// Go to the index.js and uncomment the app.use(express.static('public'))
// In the terminal (CTRL `), run the app using: npm run or node index
// Then view the index.html file at http://localhost:7010/ 
// open up another tab at http://localhost:7010/
// press somewhere on the stage and the circle on both pages will go there 

CLIENT

The example calls the zim_socket2 ES6 module for the client. You can also get the client from NPM at @zimjs/socket and install this with one of the ZIM Node Templates

ZIM

See the ZIM repository at https://github.com/danzen/zimjs for information on ZIM and open source license, etc.

About


Languages

Language:JavaScript 79.8%Language:HTML 20.2%