Experimental implementation of FHIRcast WebSocket client in React.
The implementation is based on the WebSocket channel proposal described in FHIRcast sandbox.
yarn is a fast, reliable, and secure dependency management tool. Installation instructions for your particular platform can be found in the official documentation.
git clone https://github.com/fhircast/reactclient.js.git
yarn install
yarn start
PORT=3006 yarn start
PORT=3007 yarn start
App | URL | Notes |
---|---|---|
Client 1 | https://fhircast.z6.web.core.windows.net/ | |
Client 2 | https://fhircast2.z19.web.core.windows.net/ | |
Hub | https://fhircast-ws.azurewebsites.net/ | Fork of fhircast/sandbox.js |
Hub: Published event is sent also to the WebSocket the event was published from.โ Fixed in the forked sandbox.js.- Hub: Subscribed topic is ignored when published event is sent to WebSocket client.