1.0.0 • Published 8 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 install
You can then start the server:
npm start
This will:
- serve any static files in the
public
folder - start a websocket server that streams data points
on port 8080
1.0.0
8 years ago