Thanks to visit codestin.com
Credit goes to github.com

Skip to content

The Recipe app keeps track of all your recipes, ingredients, and inventory. It allows user to save ingredients to a recipe, keep track of stock, create recipes, and generate a shopping list based on the difference between inventory and recipe requirements. To allow sharing the recipe, the user or creater can indicate whether it is private or public

License

Notifications You must be signed in to change notification settings

franclobo/Recipes_app

Repository files navigation

Recipe App

Description

The Recipe app keeps track of all your recipes, ingredients, and inventory. It allows user to save ingredients to a recipe, keep track of stock, create recipes, and generate a shopping list based on the difference between inventory and recipe requirements. To allow sharing the recipe, the user or creater can indicate whether it is private or public.

  • Login page and registration page:
    • Should be built with Devise.
  • Food list:
    • Should display a list of food added by the logged-in user as in the wireframe (for teams with only 2 people - display also quantity of a given food).
    • Should lead to a form that allows users to add new food.

image

  • Recipes list:
    • Should display a list of recipes created by the logged-in user as in the wireframe.
    • Should lead to recipe details.
    • If the user is the owner of the recipe, should allow the user to delete it.

image

  • Public recipe list:

    • Should display a list of all public recipes ordered by newest as in the wireframe.
    • Should lead to recipe details. image
  • Recipe details:

    • If the recipe is public or the user is the owner of the recipe, should display the recipe details as in the wireframe.
    • If the user is the owner of the recipe, should lead to the form that allows the user to add new food.

image

  • General shopping list view (only for a group that has less than 3 members):
    • Should show the list of food that is missing for all recipes of the logged-in user (compare the list of food for all recipes with the general food list of that user).
    • Should count the total food items and total price of the missing food.

image

  • Make sure there are no N+1 queries happening.
  • Create a navigation menu that allows users to open all of the pages you created.

If your team has 3 members these are requirements; otherwise, they are additional requirements

  • Inventories list:
    • Should display a list of inventories created by the logged-in user as in the wireframe.
    • Should lead to inventory details.
    • If the user is the owner of the inventory, should allow to delete it.

image

  • Inventory details:
    • Should display the inventory details as in the wireframe.
    • Should lead to a form that allows users to add new food.

image

  • Recipe details:
    • Should have a modal to choose an inventory to create a shopping list with, as in the wireframe.
  • Inventory shopping list:
    • Should show the list of food that is missing by comparing the food in the recipe with the food in the inventory.
    • Should count the total food items and total price of the missing food.

image

Built With

  • Ruby
  • Ruby on Rails

Live Demo

Recipe App

Run it

Use the following steps to run this Project locally:

  • Create a directory

  • Open the terminal

  • Run this command: git clone [email protected]:franclobo/Recipes_app.git

  • Enter in to the folder: cd Recipe-app

  • Open the folder with a code editor (VS Code preferred)

Authors

👤 Morris Menanya

👤 Francisco Borja

👤 Tinashe Timothy Murambinda

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a ⭐️ if you like this project!

Acknowledgments

  • Fellow coding partners
  • Code reviewers

📝 License

This project is MIT licensed.

About

The Recipe app keeps track of all your recipes, ingredients, and inventory. It allows user to save ingredients to a recipe, keep track of stock, create recipes, and generate a shopping list based on the difference between inventory and recipe requirements. To allow sharing the recipe, the user or creater can indicate whether it is private or public

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published