Training Tracker V2

Native product backend is online.

This Pages project is the separate V2 workspace for accounts, sync, imports, native iOS, HealthKit, GPS, and future subscriptions. V1 remains the live workout PWA while V2 is developed safely on its own track.

Checking API health...
Database Checking D1 binding name: DB
Auth Mode Checking Dev auth is for testing only.

PowerShell Smoke Test

$base = "https://training-tracker-appv2.pages.dev"
$login = Invoke-RestMethod -Method POST "$base/api/v2/auth/dev" `
  -ContentType "application/json" `
  -Body '{"displayName":"Gabri","email":"gabri@test.local","userId":"dev-gabri"}'

$token = $login.sessionToken
Invoke-RestMethod -Method GET "$base/api/v2/sync" `
  -Headers @{ Authorization = "Bearer $token" }

Current Scope

V2 currently exposes backend health, development auth, signed sessions, sync, V1 import storage, workout storage, entitlements scaffolding, export, and account deletion. The native iOS app comes next.