switch-to-spring #147

Open
seeseemelk wants to merge 9 commits from switch-to-spring into main
Owner
No description provided.
seeseemelk added 2 commits 2026-03-01 16:17:58 +01:00
Add data migration export/import endpoints
All checks were successful
Backend Build and Test / build (push) Successful in 42s
ad2e157c89
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>
seeseemelk force-pushed switch-to-spring from ad2e157c89 to a08a462e22 2026-03-01 16:20:41 +01:00 Compare
seeseemelk added 1 commit 2026-03-01 16:23:18 +01:00
Reformat code
All checks were successful
Backend Build and Test / build (push) Successful in 40s
e316d99453
seeseemelk reviewed 2026-03-01 16:24:18 +01:00
@@ -0,0 +1,17 @@
FROM eclipse-temurin:25-jdk-alpine AS build
Author
Owner

To replace with the pc-inv version

To replace with the pc-inv version
seeseemelk reviewed 2026-03-01 16:26:20 +01:00
@@ -0,0 +12,4 @@
@RestController
@RequestMapping("/api")
@CrossOrigin(origins = "*")
public class ApiController {
Author
Owner

Split this into multiple controllers

Split this into multiple controllers
seeseemelk added 6 commits 2026-03-02 18:12:16 +01:00
All checks were successful
Backend Build and Test / build (push) Successful in 39s
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin switch-to-spring:switch-to-spring
git checkout switch-to-spring
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: seeseemelk/allowance_planner_2000#147