Using Crossbar.io/WAMP with Node/Express

#1

Hi,

as I was asked how to use Crossbar.io and WAMP from a "regular" Node/Express application, I've added an application template that demonstrates this.

https://github.com/crossbario/crossbar/tree/master/crossbar/crossbar/templates/expressjs

All the "interesting" code is in here:

https://github.com/crossbario/crossbar/blob/master/crossbar/crossbar/templates/expressjs/express/server.js

To try yourself:

pip install -U crossbar
crossbar init --template expressjs

and follow the README.md generated.

Cheers,
/Tobias

0 Likes