sagieramos / recipe_app

Food Recie
MIT License
0 stars 2 forks source link

Recipe App Implementation #30

Open mohamedSabry0 opened 9 months ago

mohamedSabry0 commented 9 months ago

This PR introduces crucial view implementations and user stories, creating a foundational structure for the new project:

  1. Login and Registration Pages:

    • Built login and registration pages using Devise for user authentication.
  2. Recipes List View:

    • Displayed a list of recipes authored by the logged-in user, allowing navigation to recipe details as depicted in the wireframe.
  3. Public Recipe List View:

    • Showcased a list of public recipes ordered by the newest entries, with functionality to navigate to recipe details and permit deletion by the recipe owner.
  4. Recipe Details View:

    • Implemented a toggle button for recipe privacy settings.
    • Displayed recipe details based on privacy and user ownership.
    • Enabled the owner to add new food to the recipe and provided a modal for creating shopping lists linked to inventories.
  5. Inventories List View:

    • Exhibited a list of inventories owned by the logged-in user, offering links to inventory details and delete functionality for the owner.
  6. Inventory Details View:

    • Presented inventory details as per the wireframe, enabling users to add new food items through a dedicated form.
  7. Inventory Shopping List View:

    • Generated a list of missing food items by comparing the recipe's ingredients with the inventory contents.
    • Calculated total food items and prices for the missing ingredients.

These implementations align with the wireframe designs and fulfill user stories to create a functional groundwork for the project's features and views.

Your valuable insights and feedback on these implementations are appreciated to enhance user interaction and functionality within the application.