vlad 6f123ff03e 18.07 | %!s(int64=6) %!d(string=hai) anos | |
---|---|---|
.. | ||
README.md | %!s(int64=6) %!d(string=hai) anos | |
index.html | %!s(int64=6) %!d(string=hai) anos | |
package.json | %!s(int64=6) %!d(string=hai) anos | |
server.js | %!s(int64=6) %!d(string=hai) anos |
To run this example, first install dependencies:
npm install
And run a server:
node server.js
That will spawn an http server at http://127.0.0.1:9999/ which will serve both html (served from the current directory) and also SockJS server (under the /echo path).