This example contains:
- Websockets Web Client: index.html
- Websockets Server: app.js
- Jasonette markup that uses
index.html
as an agent: app.json
Since this example requires a server, you can try the deployed versiont at http://wsjason.herokuapp.com/.
First check that the websocket chat works between multiple different browsers.
Then open app.json on Jasonette to make it run as a Jasonette native app.
Open app.json and just change the $jason.head.agents.ws.url
to your agent HTML URL.