Commit Graph

12 Commits

Author SHA1 Message Date
Nils-Johan Gynther 3d610fa4ec fix: add missing newline at end of package.json 2026-04-16 19:25:33 +02:00
Nils-Johan Gynther 9292e30abc feat: add tests for normalizeName and RecipesService methods, including unit conversion and alias normalization 2026-04-16 19:22:14 +02:00
Nils-Johan Gynther 2932e58531 fix: nedgradera Prisma till 6.12.0, Prisma 7 kräver driver adapters för MySQL 2026-04-15 21:20:35 +02:00
Nils-Johan Gynther 944a670a84 chore: städa .env, uppdatera Prisma till 7.7.0 2026-04-15 20:46:36 +02:00
Nils-Johan Gynther 73bf5193c4 feat: add image handling to recipes
- Implemented image downloading and optimization in QuickImportService.
- Added imageUrl field to CreateRecipeDto for recipe creation.
- Created an endpoint in RecipesController to update recipe images.
- Enhanced RecipesService to handle image URL updates and optimizations.
- Updated Docker Compose to mount a volume for recipe images.
- Refactored frontend to display images in recipe grids and detail views.
- Added a new utility function for downloading and optimizing images.
- Created a new API route for handling image uploads.
- Introduced RecipeGrid component for better recipe display.
- Updated RecipeDetailClient to manage image updates and display.
- Added migration for new imageUrl column in the Recipe table.
2026-04-15 19:46:50 +02:00
Nils-Johan Gynther 1ce1318bf5 feat: Implement PDF recipe parser and quick import service for file and URL inputs 2026-04-14 22:24:28 +02:00
Nils-Johan Gynther f84ee39197 refactor: Simplify Dockerfile by removing recipe-document-converter build stage and update package.json to remove its dependency 2026-04-12 08:15:55 +02:00
Nils-Johan Gynther 5c5177432d refactor: update Dockerfile stages for improved build process and add converter dependency 2026-04-11 17:43:34 +02:00
Nils-Johan Gynther 4f6d0b0687 Refactor Dockerfile and package.json to remove file dependency on recipe-document-converter for cleaner npm install process 2026-04-11 16:20:46 +02:00
Nils-Johan Gynther 5448da1b98 New import in version 0.1 2026-04-11 15:38:24 +02:00
Nils-Johan Gynther 31389cc4d1 Add @types/express dependency to package.json 2026-04-10 18:28:20 +02:00
nilsjohan 962f4e4be5 Recipe-app main 2026-04-09 09:14:39 +02:00