@mashroom/mashroom-portal-demo-remote-messaging

1.6.4 • Public • Published

Mashroom Portal Demo Remote Messaging App

Plugin for Mashroom Server, a Integration Platform for Microfrontends.

Adds a demo portal app (SPA) to demonstrate the remote messaging capabilities. This app requires the mashroom-messaging and mashroom-websocket plugins to be installed.

Usage

If node_modules/@mashroom is configured as plugin path just add @mashroom/mashroom-portal-demo-remote-messaging as dependency.

After adding the app to a page you can send a message to another user (or another browser tab) by using the (remote) topic user/<other-username>/. And the app will automatically subscribe the topic user/<your_username>/# to receive all user messages.

Readme

Keywords

none

Package Sidebar

Install

npm i @mashroom/mashroom-portal-demo-remote-messaging

Weekly Downloads

1

Version

1.6.4

License

MIT

Unpacked Size

796 kB

Total Files

4

Last publish

Collaborators

  • jkofler