Commit Graph

9 Commits

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