Commit Graph

8 Commits

Author SHA1 Message Date
e2ac1bfd3d Split API controller 2026-03-02 18:10:01 +01:00
03aa050f6a Actually add lombok support 2026-03-02 18:09:38 +01:00
6beba890e8 Ignore more eclipse stuff 2026-03-02 18:09:26 +01:00
94380db02d Use lombok @getter @setter 2026-03-02 18:09:08 +01:00
b3410e3a5f Add Eclipse files to gitignore 2026-03-02 18:08:47 +01:00
e316d99453 Reformat code
All checks were successful
Backend Build and Test / build (push) Successful in 40s
2026-03-01 16:23:15 +01:00
a08a462e22 Add data migration export/import endpoints
All checks were successful
Backend Build and Test / build (push) Successful in 40s
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
29284f6eac Add spring backend 2026-03-01 16:19:55 +01:00