Commit Graph

56 Commits

Author SHA1 Message Date
Nils-Johan Gynther 5f6b9261f2 fix: ersätt partial migration med fullständigt initial schema 2026-04-15 21:32:16 +02:00
Nils-Johan Gynther 1844368cf8 fix: återställ url i schema.prisma, ta bort ogiltig datasourceUrl från constructor 2026-04-15 21:14:48 +02:00
Nils-Johan Gynther c9ef587eb1 feat: add Prisma configuration file and update Dockerfile to include it 2026-04-15 20:53:45 +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 3dc63c0641 Update instructions field in Recipe model to use Text type for better storage of longer content 2026-04-10 20:00:15 +02:00
nilsjohan 962f4e4be5 Recipe-app main 2026-04-09 09:14:39 +02:00