/peer-to-peer-demo

Demo of PeerJS in Angular 6

Primary LanguageTypeScript

Peer to Peer demo

Uses PeerJS to communicate between different browsers using WebRTC.

Peer to Peer demo

Getting Started

This demo was built using the Angular6 Prerender Starter

Installation

  • npm install or yarn

Development (Client-side only rendering)

  • run npm run start which will start ng serve

Production (Pre-rendering locally)

npm run build:prerender && npm run serve:prerender - Compiles your application and prerenders your applications files, spinning up a demo http-server so you can view it on http://localhost:8080 Note: To deploy your static site to a static hosting platform you will have to deploy the dist/browser folder, rather than the usual dist