Giter Site home page Giter Site logo

react-code-challenge's Introduction

React Code Challenge

This code test involves the creation of a working React app using a 3rd party API.

Requirements and Restrictions

  • 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.

The challenge

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 and calories range.
    • display search results list that consists of recipe picture, label, calories, healthLabels and dietLabels
    • 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 and digest details.
    • include a button to bookmark the recipe
  • Bookmarked recipes view
    • List of all bookmarked recipes.
    • Button to remove recipes from the list.

Getting started

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

react-code-challenge's People

Contributors

maryam-mmi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.