MA
MatthewKosloski/sfdc-subscriber
A web app that subscribes to Salesforce Platform Events via CometD
sfdc-subscriber
A Node app that subscribes to Salesforce Platform Events via CometD.
Usage
Development
- Start up the client.
cd client npm start - Start up the server.
cd server npm start
Production
The following script builds the production files, creating a dist directory. The production files include minified, production-optimized HTML and JavaScript.
cd client
npm run build
Tests
Server
Running tests with console output:
npm run test
Running tests without console output:
npm run test:silent
Running tests with coverage report:
npm run test:coverage
Running tests with coverage report and without console output:
npm run test:coverage-silent
Resources
React
Redux
Proper Typing of react-redux Connected Components
Socket.io Middlware
Beginner's Guide to Redux Middleware
CometD
Salesforce
Subscribing to Platform Events via CometD
d3.js
Documentation
Patterns and Conventions
Tutorials
Libraries
Examples
Real Time Chart with Multiple Data Streams
On this page
Languages
TypeScript77.9%JavaScript21.8%HTML0.3%
Contributors
Created June 19, 2019
Updated March 9, 2023