Add Planner session management with Yjs WebSocket (#1)

- Yjs WebSocket server at /sync/:sessionId for real-time collaboration
- Session creation API (POST /api/sessions) with optional GPX initialization
- Session join page with Planner layout (header, map area, sidebar)
- In-memory session store (PostgreSQL persistence deferred to infra setup)
- Custom production server entry with WebSocket upgrade handling
- Vite path aliases (~/) for clean imports
- Fix tsconfig for apps: noEmit, exclude build dir

Tasks completed: 4.1, 4.3, 4.4, 4.5
Deferred: 4.2 (PostgreSQL), 4.6-4.8 (need client-side Yjs from Group 6)

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Ullrich Schäfer 2026-03-22 13:26:03 +01:00 committed by GitHub
parent 6f90c59db9
commit 464ba0f64d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 413 additions and 42 deletions

View file

@ -5,9 +5,13 @@
"**/*.tsx",
".react-router/types/**/*"
],
"exclude": ["build", "node_modules", "server.ts"],
"compilerOptions": {
"rootDirs": [".", "./.react-router/types"],
"outDir": "build",
"types": ["vite/client"]
"noEmit": true,
"types": ["vite/client"],
"paths": {
"~/*": ["./app/*"]
}
}
}