Package Exports
- @mean-expert/loopback-component-realtime
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@mean-expert/loopback-component-realtime) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
LoopBack Component Real-Time
A LoopBack Framework Component that provides publish events over WebSockets.
This module will supersedes the LoopBack Component PubSub and will implement multiple Real-Time functionalities like PubSub, IO and the new FireLoop Module.
Installation
$ npm install --save @mean-expert/{loopback-sdk-builder,loopback-component-realtime}
Setup Back End Module
Update the server/component-config.json
as follows:
{
"loopback-component-explorer": {
"mountPath": "/explorer"
},
"@mean-expert/loopback-component-realtime": {
"debug": true,
"auth": true,
"driver": {
"name": "socket.io"
},
"modules": [
"IO",
"PubSub",
"FireLoop"
]
}
}
Update the server/model-config.json
as follows:
{
"mixins": [
"loopback/common/mixins",
"loopback/server/mixins",
"../common/mixins",
"./mixins",
"../node_modules/loopback-component-realtime/dist/mixins"
]
}
PRESENTING FIRELOOP.IO (NEW)
Generate FireLoop Angular 2 Client
FireLoop Client for Angular 2 Applications are built in when generating your LoopBack SDK. Read the Following Instructions in order to automatically generate your software development kit.