implement foundation + room system (Plan 1 of 5)

Bun workspace monorepo with shared, server, client packages.
Server: Hono + @hono/node-ws, Drizzle + PostgreSQL, in-memory room manager
with WebSocket broadcasting, HTTP room creation, DB persistence layer.
Client: React 19 + Vite + Tailwind v4 + shadcn/ui, TanStack Router with
landing/display/host/player routes, Zustand store, WebSocket connection hook.
20 tests passing (room manager unit + WS integration).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-11 12:52:32 +01:00
parent cd993e032d
commit ff311b5fac
54 changed files with 3964 additions and 0 deletions

2
.env.example Normal file
View File

@@ -0,0 +1,2 @@
DATABASE_URL=postgresql://localhost:5433/celebrate_esc
PORT=3001