For this application you will be building CRUD on the resouce snacks
. Your application should:
- display all the
snacks
- allow a user to create
snacks
- each snack should have a
name
andkind
- each snack should have a
- allow a user to edit a snack
- allow a user to delete a snack
You should use a list to store your snacks and make a class for a snack to create instances from.
BONUS Make your app look amazing with some CSS! BONUS If you go to the show page for an invalid id, your applicaiton will break. Create a 404 page and redirect to it in the event that a user tries to go to the show or edit pages for a snack with an invalid id.