-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed Recipe Image Storage & "Update Recipe" Page Improvements #434
Conversation
✅ Deploy Preview for delightful-daifuku-a9f6ea canceled.
|
During the shifting of storage from GitHub to database, I found that update page is not able to change the image of the recipe. so I fixed it also! I hope you dont mind it. |
@IkkiOcean can you share a video by creating one dummy recipe with an image upload, since the current video only shows the update operation and not the add operation |
yeah sure! doing it right away |
Also remove the GitHub related envs from the env example file |
WhatsApp.Video.2024-11-09.at.18.20.00.mp4@AlfiyaSiddique the video of upload |
🎉 Thank you @IkkiOcean Your pull request has been successfully merged! 🎉 Thank you for your contribution to our project. Your efforts are greatly appreciated. Keep up the fantastic work! 🚀 |
Description:
This PR addresses two major improvements for the recipe management functionality:
Fixed Recipe Image Storage: Updated the application to store recipe images directly in the database rather than storing them on GitHub, which improves data security, organization, and accessibility.
Enhanced Update Recipe Page: Added support for changing the recipe image on the update page, including backend support. Previously, there was no option to change the image, and the backend controller didn’t support this functionality.
Changes Made:
Recipe Image Storage Fix:
Update Recipe Page Fix:
Screenshots/Visual Changes:
reci.mp4
Related Issues:
How should this be tested?
For storage shift from GitHub to mongoose db
For update fix
Checklist
console.logs