The classic Socket.IO example: a simple instant messenger. Server is spawned by Node.js and Web UI is powered by Angular. Both are linked together by Socket.IO
Find more info about this example on the original tutorial by following this link: http://socket.io/get-started/chat/
Just build it using Gulp:
> git clone https://github.com/lgrignon/jsweet-node-example.git > cd jsweet-node-example > npm install > npx bower install > npx gulp buildClientAndServer > npx gulp static
gulp buildClientAndServer executes behind the scene
gulp buildServer and
gulp buildClient, which runs respectively
mvn generate-sources -P server and
mvn generate-sources -P client.
gulp static launches static resources generation such as jade transpilation, resources copy, bower libs concat & minify.
The output folder is
> cd build > node server/Globals.js
Then, one could browse the chat by accessing http://localhost:1337/ in a browser.