Skip to content

A sample project using ng2 RC3 (currently), angular-cli, node/express and websockets to plot data

Notifications You must be signed in to change notification settings

cincrain/angular2-websocket-plotter

 
 

Repository files navigation

Angular 2 RC+ Websockets with Node, RxJs and Smoothie

A really sample app to play around with using Node to stream a sine wave to a service in Angular 2 with WebSockets.

To set up:

# if you haven't yet, do this:
npm install -g angular-cli
npm install -g nodemon

# if you have it, to get RC1 do this:
npm update -g angular-cli

git clone [email protected]:krimple/angular2-websocket-plotter.git
cd angular2-websocket-plotter
npm install

To run:

# in one window, run:
ng server

# in another window, run:
nodemon src/server.js

# in browser, hit up http://localhost:3000

Enjoy!

Ken

About

A sample project using ng2 RC3 (currently), angular-cli, node/express and websockets to plot data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 51.5%
  • JavaScript 40.0%
  • HTML 8.5%