This code test involves the creation of a working React app using a 3rd party API.
- The app must be built using React.
- Try to make the UI look nice (no need to overdo it).
- Feel free to use any libraries/plugins you can find.
- You should focus on code quality and structure.
Create a React web application for searching through the cooking recipes using the public API and implement a solution for bookmarking the recipes on client-side using localStorage
.
The public recipes API is called Edamam Recipe Search API. You can signup for a developer account here.
The web application should include the following functionality:
- Search form view
- display a search form with a searching query input field.
- include advanced search filtering input fields for
diet
,health
,cuisineType
,mealType
,dishType
andcalories
range. - display search results list that consists of recipe
picture
,label
,calories
,healthLabels
anddietLabels
- button to load more results
- Recipe info dialog/modal that opens when a user clicks on recipe search result
- display more information about the recipe like
ingredients
,nutrients
anddigest
details. - include a button to bookmark the recipe
- display more information about the recipe like
- Bookmarked recipes view
- List of all bookmarked recipes.
- Button to remove recipes from the list.
This repository is setup with create-react-app
to get you started quickly. To start the app you just need to clone the repository and run the following commands:
# install node_modules
yarn
# start the app
yarn start