GitHunt
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

  1. Start up the client.
    cd client
    npm start
    
  2. 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

Composition vs. Inheritance

Redux

Proper Typing of react-redux Connected Components
Socket.io Middlware
Beginner's Guide to Redux Middleware

CometD

JavaScript Documentation

Salesforce

Subscribing to Platform Events via CometD

d3.js

Documentation

Api Reference

Selection.join

Patterns and Conventions

General Update Pattern

Margin Convention

Towards Reusable Chart

Tutorials

Dashing D3.js Tutorials

D3 in Depth

Libraries

Cubism.js

Examples

scaleTime Example

D3 Timeseries with Brush

Line Chart Example

D3 Based Real Time Chart

Real Time Chart with Multiple Data Streams

Real-time multi-series time series chart data

I Make Circles

Languages

TypeScript77.9%JavaScript21.8%HTML0.3%

Contributors

Created June 19, 2019
Updated March 9, 2023
MatthewKosloski/sfdc-subscriber | GitHunt