Skip to content

ymahnovskyy/polymer-sock-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sock Js Polymer Component

An element providing a Sock-Js client, wrapped around a sockjs-client.

Main features:
  • reconnection
  • token authentication

Dependencies

Element dependencies are managed via Bower. You can install that via:

npm install -g bower

Then, go ahead and download the element's dependencies:

bower install

Playing With Your Element

If you wish to work on your element in isolation, we recommend that you use Polyserve to keep your element's bower dependencies in line. You can install it via:

npm install -g polyserve

And you can run it via:

polyserve

Once running, you can preview your element at localhost, where sock-js is the name of the directory containing it.

TODO

  1. Cover all functionality with unittests.
  2. Improve demo.