Files
allowance_planner_2000/backend/main.go
Sebastiaan de Schaetzen a08a462e22
All checks were successful
Backend Build and Test / build (push) Successful in 40s
Add data migration export/import endpoints
Add GET /api/export to the Go backend that dumps all users, allowances,
history, and tasks (including completed) as a single JSON snapshot.

Add POST /api/import to the Spring backend that accepts the same JSON,
wipes existing data, inserts all records with original IDs preserved via
native SQL, and resets PostgreSQL sequences to avoid future collisions.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-01 16:19:55 +01:00

21 KiB