1.0.0 • Published 9 years ago
petrolink-frontend-assignment v1.0.0
Petrolink front-end challenge
This is a small NodeJS server to simulate streaming Hook load data
Prerequisites
Node.js and npm: LTS version.
NPM is bundled with node.
Running the server
You first need to fetch dependencies:
cd path/to/this/folder
npm installYou can then start the server:
npm startThis will:
- serve any static files in the
publicfolder - start a websocket server that streams data points
on port 8080
1.0.0
9 years ago