AlfiyaSiddique / TastyTrails

TastyTrails is a web application designed to explore delightful recipes from around the world. It leverages modern technologies to create an immersive culinary experience.
https://delightful-daifuku-a9f6ea.netlify.app/
GNU Affero General Public License v3.0
30 stars 86 forks source link

FEATURE: Recipe For The Day Suggestion section #444

Closed sanchitc05 closed 1 week ago

sanchitc05 commented 1 week ago

Fixes #328

What does this PR do?

This PR introduces the "Recipe of the Day" feature, which fetches a random recipe from the backend API and displays it in the application. This feature enhances user engagement by providing daily culinary inspiration.

Fixes #328 (Implement Recipe of the Day feature)

New Dependencies

How should this be tested?

To test this feature, follow these steps:

  1. Ensure the backend API is running and accessible.
  2. Navigate to the section of the application where the RecipeOfTheDay component is included.
  3. Verify that a random recipe is displayed correctly.
  4. Check the loading spinner appears while the recipe is being fetched.
  5. Test the error handling by temporarily disabling the API or using an invalid endpoint to ensure appropriate error messages are displayed.

Checklist

Required

netlify[bot] commented 1 week ago

Deploy Preview for delightful-daifuku-a9f6ea ready!

Name Link
Latest commit
Latest deploy log https://app.netlify.com/sites/delightful-daifuku-a9f6ea/deploys/6730b470b3d664aa923f16cb
Deploy Preview https://deploy-preview-444--delightful-daifuku-a9f6ea.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

sanchitc05 commented 1 week ago

@AlfiyaSiddique Please look into the pr now and let me know if everything's good.

AlfiyaSiddique commented 1 week ago

@sanchitc05 there is 2 Recipe of the day sections in your code: image

Please fix it can't merge this with such issues

AlfiyaSiddique commented 1 week ago

@sanchitc05 not working still merging

github-actions[bot] commented 1 week ago

šŸŽ‰ Thank you @sanchitc05 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! šŸš€

sanchitc05 commented 1 week ago

Thank you so much for your cooperation @AlfiyaSiddique āœØ It means a lot! The GSSOC has ended but I'll still be in touch with you in case you need any other modifications or addition to your project. Regards, Sanchit Chauhan