Level exam: City Eats

Your task 1. Home: load /api/recipes with a spinner and Loading recipes…. 2. On an error, show Couldn't load recipes. and a Try again button. 3. Show each recipe as a row: {emoji} {name} · {time} min. Tapping a row opens Details with the recipe as a param. 4. Details: show the recipe and a Save to favorites button. It adds the name to the favorites list on the phone, saved as JSON. 5. Favorites: load that list when the screen opens. Show No favorites yet. when it is empty. 6. App: a stack with Home (title City Eats, a Favorites header button), Details and Favorites.

Getting the editor ready