Angular 2 and WebSockets
summary
Builds an Angular 2 quiz that connects browsers directly to AWS IoT over WebSockets using MQTT, a pure front‑end “backendless” setup that uses the mqtt.js library plus AWS SDK signing. State is captured with event sourcing in localStorage and replayed with a simplified Redux pattern while RxJS streams handle incoming and outgoing messages. A live demo hits ~225 concurrent users and reports near real‑time updates. Problems: an 18 MB bundle from webpack, immature Material components, and missing tests.
AI-written summary · about
chapters (12)
- 0:00Start
- 3:17Architecture
- 5:53Production Test
- 11:13Aws Iot Platform
- 14:29Aws Iot
- 15:15Mqtt Client
- 18:01Event Sourcing
- 20:51Key Challenges
- 27:09Ngrick Store
- 29:26Websockets
- 30:20Material Design Components for Angular 2
- 33:44Material Design
related talks
23mRxJS, Angular, and WebSockets - The Spy Life
40mWorking with WebSockets in Angular apps
47mThe Greatest Mystery is Realtime with Angular, NestJS, and websockets!
40mSocket to me
29mWebSockets Bring Light at the End of the Tunnel
01h 28mIntroduction to WebSockets
46mEvent-Driven UX in the Real World with Angular and Socket.io
41mModel-View-Websockets
