// the find
ErickWendel/semana-javascript-expert04
JS Expert Week 4.0 classes - ClubHouse Clone
A step-by-step workshop repo teaching WebRTC + Socket.io by building a Clubhouse clone across five progressive lessons. Each `aula` folder adds a layer — starting with pure socket rooms, then adding lobby sync, then WebRTC audio via PeerJS. It's a teaching artifact, not a production library.
The incremental structure is genuinely good pedagogy — you can diff aula02 against aula03 and see exactly what WebRTC peer negotiation adds. Using PeerJS abstracts the ICE/STUN boilerplate without hiding the important parts. The MVC split between controller, view, and service files is cleaner than most tutorial code. Socket room ownership logic (promote oldest speaker on disconnect) is thought through for a workshop.
Abandoned in 2021 — WebRTC APIs and PeerJS have moved, and the checklist in the README is entirely unchecked, meaning the GitHub login, real-time lobby updates, and attendee upgrade flow were never implemented in the public code. All state is in-memory on the server with no persistence, so any restart wipes all rooms. The PeerJS server config is localhost-only with no guidance on deploying a real STUN/TURN setup, which is where most people would get stuck.