Commit graph

11 commits

Author SHA1 Message Date
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
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