Support for real time data flow via websockets. Currently this supports socket.io, but the intention is to support multiple web socket implementations.
First install this addon using:
yarn add denali-sockets
# or
npm install --save denali-sockets
From here on I'll be using
yarn
in the examples.
After installation you should have a new app/namespaces/application.js
file which should be enough to
get started with sockets.
- Clone the repo down
npm install
denali server
- Hit localhost:3000
$ denali test