/Angular-WebSockets

Example of using Angular services and RxJS observables with a WebSockets Server

Primary LanguageTypeScript

Angular WebSockets

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.

Running the Application

  1. Install Node.js

  2. Install the Angular CLI:

    npm install -g @angular/cli

  3. Run npm install to install app dependencies

  4. Run ng build to build the Angular application code

  5. Run npm start to start the server

  6. Navigate to http://localhost:8080 to view the app