Skip to content

feat: add final score submission#45

Merged
flaw03 merged 1 commit intomainfrom
feature/backend-us-14-scores
Mar 20, 2026
Merged

feat: add final score submission#45
flaw03 merged 1 commit intomainfrom
feature/backend-us-14-scores

Conversation

@thomas-rx
Copy link
Copy Markdown
Collaborator

Context

Add final score submission to the backend API.
Closes #14.

Changes

  • add POST /v1/scores with session validation, nonce checks, expiration checks, and duplicate submission protection
  • add a D1 migration to allow submitted sessions and persist accepted score submissions with stats
  • add backend tests for accepted, missing, invalid, duplicate, and expired score submissions

@thomas-rx thomas-rx requested review from flaw03 and kvnpetit March 20, 2026 10:32
@flaw03 flaw03 merged commit c0849d6 into main Mar 20, 2026
@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 scoring Score, calcul de points ou soumission de score labels Mar 20, 2026
@thomas-rx thomas-rx requested review from flaw03 and kvnpetit March 20, 2026 10:41
@kvnpetit kvnpetit deleted the feature/backend-us-14-scores branch March 20, 2026 14:07
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 scoring Score, calcul de points ou soumission de score

Projects

None yet

Development

Successfully merging this pull request may close these issues.

US 7.1 - Soumettre un score final

3 participants