This is the source code for a very simple chat example used as a testbed for the Web Components and Polymer. You can find detailed descriptions in the blog post.
The initial source code is cloned from the node.js Getting Started guide of the Socket.IO website.