BridgeOnline — Developer Learning Guide

A session-by-session breakdown of everything built in this project, written for someone with strong DSA fundamentals and basic dev experience.

Each module builds on the previous one. Start from Session 01.


Modules

ModuleTopicSession
01 — Architecture & DesignHow the whole system fits togetherSession 001
02 — Game Logic as Pure FunctionsBridge rules, DSA inside the engineSession 002
03 — Database Design with PrismaSchema, FK constraints, ORMsSession 003
04 — Real-Time with Socket.ioEvents, rooms, pub-sub, state syncSession 003
05 — Testing Strategy (5 Layers)Unit → Integration → E2ESessions 002–004
06 — WebRTC & Voice ChatP2P, SDP, ICE, mesh topologySession 001
07 — Scalability Gaps & FixesRedis, queues, reconnection, observabilitySession 001
08 — TypeScript & Next.js 14 PatternsAsync params, Prisma JSON, enum narrowingSession 005
09 — Game State Bugs & Defensive CodingGuard clauses, spec tests, API testing with curlSession 006
10 — E2E Integration, Playwright Config & Node.js 24 Env BugNODE_ENV forwarding, webServer env block, CDP, 4-browser contextsSession 007

Who This Is For

You know:

  • Big-O notation, trees, graphs, hash maps, sorting algorithms
  • Basic web concepts (HTTP, JSON, what a server is)
  • Some TypeScript/JavaScript syntax

You are learning:

  • How a production full-stack app is structured
  • How real-time multiplayer games work under the hood
  • How to test code systematically
  • Why each architectural decision was made