Web application that allows you to save recipes and shows the shopping list to create them!
Web application that allows you to save recipes and shows the shopping list to create them!
Check this live demo of the page!
To get a local copy up and running follow these simple example steps.
To use this project you first need to have installed the following:
The version of ruby that is needed for this project is
Once you have installed them, you need to use the following command to clone the repository:
git clone https://github.com/Yothu/recipe-app-capstone.git
Next, use this command to create the databases:
rake db:create
Use this command to run the migrations if necesessary:
rails db:migrate
Finally, use the following command to initialize the live server:
rails s
In the Foods page you can add foods clicking in the Add food button, to create one you need to add a name, a measurement unit and a price to it. Once it is added, you can delete it by pressing the corresponding's food Delete button.
In the Recipe page you can add recipes clicking in the Create Recipe button, to create one you need to add a name, a preparation time, a cooking time, and a description to it, you can also check the Public Recipe! checkbox to make the recipe public. Once it is added, you can delete it by pressing the corresponding's recipe Delete button.
In the Public recipes page you will see all users' public recipes, you can see its name, who made it and its description.
If you click in the name of a recipe in the My Recipes page or in the Public Recipes page you will access the Recipe details page, in there are all the details of a recipe, including its ingredients. If you are the owner of a recipe you can add more ingredients, change it to public or private, and delete ingredients. And even check the shopping list of all your recipes!
To check the test use the following command:
bundle exec rspec ./spec
David Vergaray
Anibal Amoroso
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a if you like this project!
This project is MIT licensed.