Repository and web page

https://github.com/zdflower/recipeBoxFCC

RecipeBox

What’s new

After dealing with difficulties with coding forms in React, passing back the data to an upper component, and then saving the new recipe to the localStorage as string but as an object in an array in the app state, a user can create a new recipe and show it and close the browser and re-open it and there will be the recipe.

The next step is implementing deleting and editing a recipe. I quite don’t know how yet, I have some ideas, though. First I’m going to try simplify the problem and solve it, and then go back to the original.

User stories:

https://www.freecodecamp.org/challenges/build-a-recipe-box

  • I can create recipes that have names and ingredients.
  • I can see an index view where the names of all the recipes are visible.
  • I can click into any of those recipes to view it.
  • I can edit these recipes.
  • I can delete these recipes.
  • All new recipes I add are saved in my browser’s local storage. If I refresh the page, these recipes will still be there.

Readings