Commit graph

24 commits

Author SHA1 Message Date
Natalia Cholewa
6d5f7af225 fix: the 26 checkstyle violations in tests (Thank you checkstyle) 2025-12-05 14:47:30 +01:00
Natalia Cholewa
6b659a2ced fix: formatting in ingredient controller 2025-12-05 14:40:12 +01:00
Natalia Cholewa
3af808ef58 feat: ingredient controller, websocket messages, ingredient controller tests 2025-12-05 14:38:43 +01:00
Natalia Cholewa
433f289c55 Merge branch 'feature/backend-websockets' into 'main'
Backend websockets

See merge request cse1105/2025-2026/teams/csep-team-76!16
2025-12-05 10:47:32 +01:00
Natalia Cholewa
e85a43725d fix: checkstyle violations 2025-12-04 23:08:10 +01:00
Natalia Cholewa
25fdbcf49e fix: testing with websocket connection 2025-12-04 23:03:52 +01:00
Natalia Cholewa
8e24e47813 feat: topics, recipe messages 2025-12-04 22:52:14 +01:00
Aysegul Aydinlik
88dc43613f backend stuff for ingredients and nutritions 2025-12-04 14:41:45 +01:00
ee16265cb8
feat: message broadcast endpoint mapping 2025-11-27 14:59:46 +01:00
fcc7cfd9ac
feat: message broadcast endpoint mapping 2025-11-27 14:58:56 +01:00
dcb76612d5
feat: websocket config endpoints 2025-11-27 14:57:22 +01:00
ba3775f42b
feat: add WS dependency 2025-11-27 14:57:22 +01:00
1e9bd169d0 test: improve unit test clarity 2025-11-27 14:39:09 +01:00
a1fbea1585 test: add unit tests for RecipeController
Covers 6/6 methods in controller
Also added test configuration in application-mock-data-test.properties
2025-11-27 14:39:09 +01:00
17f4b8bba4 fix: correct deletion method implementation
reference: https://stackoverflow.com/questions/75912878/could-not-write-json-failed-to-lazily-initialize-a-collection-when-returning-an
2025-11-27 14:39:09 +01:00
f62e836692 fix: createRecipe checks name is unique
Uses JPA Repository.exists(Example<T>); Changed no-arg constuctor of
Recipe to public.
2025-11-27 14:39:09 +01:00
0a9251df67 fix: recipe api now under /api 2025-11-27 14:39:09 +01:00
4e23d913d1 feat: RecipeController with GET, POST, PUT, DELETE
TODO: WebSockets updates should be propagated after POST/PUT/DELETE operations
2025-11-27 14:39:09 +01:00
Oskar Rasieński
ccdccffee8 Added RecipeRepository 2025-11-27 14:39:09 +01:00
07d3fe304d Revert "Merge branch 'backend' into 'main'"
This reverts merge request !2
2025-11-27 14:29:18 +01:00
Oskar Rasieński
3aa530ffde feat: basic Recipe class and RecipeController with GET, POST, PUT, DELETE 2025-11-25 17:46:15 +01:00
9ec277bfef
fix even more tabs 2025-11-14 19:43:58 +01:00
Hanz727
ee0d2ce427 Replaced all tabs with spaces 2025-11-14 19:36:29 +01:00
Sebastian Proksch
e4c00f10e8 Initial commit 2025-11-13 22:26:09 +01:00