Commit Graph

424 Commits

Author SHA1 Message Date
Nils-Johan Gynther dd17656e4c Add recipe deletion functionality and enhance inventory consumption details 2026-04-10 18:44:06 +02:00
Nils-Johan Gynther a743f832a2 Refactor ingredient mapping to exclude location and convert quantity to number 2026-04-10 18:31:48 +02:00
Nils-Johan Gynther 31389cc4d1 Add @types/express dependency to package.json 2026-04-10 18:28:20 +02:00
Nils-Johan Gynther 0588c0d3d8 Add recipe existence check in update method and remove redundant quantity conversion 2026-04-10 18:22:47 +02:00
Nils-Johan Gynther 2efb5b5627 Implement health check service and global exception handling 2026-04-10 18:14:48 +02:00
Nils-Johan Gynther 650a1bb55c Add error handling for missing recipe ID in EditRecipePage 2026-04-10 17:59:34 +02:00
Nils-Johan Gynther a1f8fe228c Add update functionality for recipes and create edit page 2026-04-10 17:45:24 +02:00
Nils-Johan Gynther fb68f926b1 Update recipe-api service in compose.yml to use pre-built image instead of build context. ex. recipe-api:local 2026-04-10 17:20:59 +02:00
Nils-Johan Gynther b9d5d87235 Remove unused trace file from the frontend build directory. Updated compose.yml 2026-04-10 17:16:34 +02:00
Nils-Johan Gynther 32e643f6ab Refactor fetchJson function to use relative paths in the browser and avoid mixed content issues 2026-04-09 23:58:19 +02:00
Nils-Johan Gynther fd8480197c Refactor quantity input parsing to handle additional units and improve conversion logic across inventory forms and recipe pages 2026-04-09 23:36:36 +02:00
Nils-Johan Gynther 03361f7b7d Refactor inventory forms to include unit and location options; update quantity input handling 2026-04-09 23:25:52 +02:00
Nils-Johan Gynther 50d79a348b Add Page component to render CreateRecipePage for recipe creation 2026-04-09 23:10:43 +02:00
Nils-Johan Gynther 3fd43b421a Add type annotation for product fetching in CreateRecipePage component 2026-04-09 23:06:21 +02:00
Nils-Johan Gynther a2f30d6cfb Add type definition for products state in CreateRecipePage component 2026-04-09 23:04:15 +02:00
Nils-Johan Gynther 69393f407c Fix useEffect hook for product fetching in CreateRecipePage component 2026-04-09 22:58:49 +02:00
Nils-Johan Gynther 898ac2ef19 Add CreateRecipePage component for recipe creation with ingredients. Updated UX 2026-04-09 22:53:52 +02:00
Nils-Johan Gynther 3e38cb5f98 Add create method to RecipesService for recipe creation with ingredients 2026-04-09 22:23:13 +02:00
Nils-Johan Gynther bc89e3038b Implement recipe retrieval methods and enhance inventory item types for better data handling 2026-04-09 22:16:09 +02:00
Nils-Johan Gynther 29910130f0 Enhance RecipePreview and RecipesService with additional inventory item properties and conversion logic 2026-04-09 22:09:19 +02:00
Nils-Johan Gynther 4fd3c8dc20 Add unit conversion and normalization methods to RecipesService 2026-04-09 17:17:08 +02:00
Nils-Johan Gynther d1870decac 11D recipe preview 2026-04-09 15:12:54 +02:00
Nils-Johan Gynther 8bb7b66274 första uppdateringen 2026-04-09 14:32:46 +02:00
nilsjohan 962f4e4be5 Recipe-app main 2026-04-09 09:14:39 +02:00