No description
Find a file
jvanvik 9104480463 Add POST /me/join and a join card: accounts survive a world reset
Found while resetting the live test world: joinWorld's comment promised POST /worlds/:id/join but no route existed, so after reset-world (accounts kept) nobody could found a POP again. Added POST /me/join (default: first running world; 409 if already joined), a join card on the POP screen, en/nb strings, API.md + openapi. Client no longer polls /movements while it has no operator (that 404ed).

Tested: npm test 209/209 (new test/me-join.test.js incl. response contract), openapi check, npm run e2e (new check: account without a POP sees the join card and founds one). NOT tested: joining a second/other world (only the default-world path in the browser), nb text of the card visually.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q2MJaQ5LXAHzGnTDgceT14
2026-10-11 22:43:15 +02:00
deploy Stage 3-5 server (military, expansion, social), web client for stages 1-2, ops/deploy 2026-10-11 18:32:36 +02:00
docs Add POST /me/join and a join card: accounts survive a world reset 2026-10-11 22:43:15 +02:00
e2e Add POST /me/join and a join card: accounts survive a world reset 2026-10-11 22:43:15 +02:00
public Add POST /me/join and a join card: accounts survive a world reset 2026-10-11 22:43:15 +02:00
server Add POST /me/join and a join card: accounts survive a world reset 2026-10-11 22:43:15 +02:00
test Add POST /me/join and a join card: accounts survive a world reset 2026-10-11 22:43:15 +02:00
tools Early-level build discount (B4) and start stock 1000 (B5) 2026-10-11 22:38:37 +02:00
.gitignore Stage 0-2 server spine: db, scheduler, REST, auth, economy, map 2026-10-11 18:07:42 +02:00
CLAUDE.md Upload files to "/" 2026-10-11 15:53:05 +00:00
package-lock.json Stage 0-2 server spine: db, scheduler, REST, auth, economy, map 2026-10-11 18:07:42 +02:00
package.json Stage 3-5 server (military, expansion, social), web client for stages 1-2, ops/deploy 2026-10-11 18:32:36 +02:00
towerdef.md Add towerdef.md 2026-10-11 15:54:29 +00:00