Skip to content

Latest commit

 

History

History
115 lines (70 loc) · 2.67 KB

README.md

File metadata and controls

115 lines (70 loc) · 2.67 KB

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