Skip to content

feat: add game session creation#40

Merged
thomas-rx merged 8 commits intomainfrom
feature/backend-us-13-sessions
Mar 20, 2026
Merged

feat: add game session creation#40
thomas-rx merged 8 commits intomainfrom
feature/backend-us-13-sessions

Conversation

@thomas-rx
Copy link
Copy Markdown
Collaborator

@thomas-rx thomas-rx commented Mar 20, 2026

Context

Add server-side game session creation directly against main.
Refs #13.

Changes

  • add POST /v1/sessions with player existence checks and a started session payload
  • migrate game_sessions to persist submit_nonce, rules_version, and expires_at
  • add route tests for session creation, missing players, nonce uniqueness, and OpenAPI exposure

@thomas-rx thomas-rx requested a review from kvnpetit March 20, 2026 10:01
@thomas-rx thomas-rx changed the base branch from feature/backend to main March 20, 2026 10:08
@thomas-rx thomas-rx requested a review from kvnpetit March 20, 2026 10:09
@kvnpetit kvnpetit added this to the MVP Backend milestone Mar 20, 2026
@kvnpetit kvnpetit added backend Backend, API ou infrastructure Cloudflare mvp Necessaire pour la premiere version jouable labels Mar 20, 2026
@thomas-rx thomas-rx requested a review from flaw03 March 20, 2026 10:20
@thomas-rx thomas-rx merged commit c6811f5 into main Mar 20, 2026
thomas-rx added a commit that referenced this pull request Mar 20, 2026
* docs: add backend specification

* feat: bootstrap workers backend

* docs: remove backend specification

* feat: add d1 schema and migrations

* Revert "feat: add d1 schema and migrations"

This reverts commit 13d95eb.

* feat: add d1 schema and migrations (#37)

* feat: add anonymous player registration (#39)

* feat: add game session creation
@kvnpetit kvnpetit deleted the feature/backend-us-13-sessions branch March 20, 2026 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend Backend, API ou infrastructure Cloudflare mvp Necessaire pour la premiere version jouable

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants