This project shows how Angular services and RxJS Observables can be used with a WebSockets server to stream data from the server to the client.
-
Install Node.js
-
Install the Angular CLI:
npm install -g @angular/cli
-
Run
npm install
to install app dependencies -
Run
ng build
to build the Angular application code -
Run
npm start
to start the server -
Navigate to
http://localhost:8080
to view the app