lila/apps/api/src/routes
lila 4d1ebe2450 feat(api): add REST endpoints for lobby create and join
- POST /api/v1/lobbies creates a lobby with a Crockford-Base32
  6-char code, retrying on unique violation up to 5 times
- POST /api/v1/lobbies/:code/join validates lobby state then
  calls the model's atomic addPlayer, idempotent for repeat
  joins from the same user
- Routes require authentication via requireAuth
2026-04-16 19:51:38 +02:00
..
apiRouter.ts feat(api): add REST endpoints for lobby create and join 2026-04-16 19:51:38 +02:00
gameRouter.ts feat(api): add auth middleware to protect game endpoints 2026-04-12 13:38:32 +02:00
healthRouter.ts wip version of the api 2026-04-05 00:33:34 +02:00
lobbyRouter.ts feat(api): add REST endpoints for lobby create and join 2026-04-16 19:51:38 +02:00