Code Monkey home page Code Monkey logo

recipe-project's Introduction

Yummy - React App

The purpose of this assignment is to practice TypeScript

How to run project

  1. Step 1: yarn
  2. Step 2: yarn start

Requirements

  1. Your application should have 4 pages namely: Home, RecipePage ,Favorite and Contact
  2. Create a form where the user can insert the meal name
  3. Using the user input above to get the recipe using this api : https://www.themealdb.com/api/json/v1/1/search.php?s=${userInput}. For example, if the user type pizza then the url will be: https://www.themealdb.com/api/json/v1/1/search.php?s=pizza
  4. If the recipe is not found, display this message: Sorry we have not got this recipe yet !
  5. The user can add their favorite by clicking the heart icon and the favorite recipes show in Favorite page.
  6. Styling had to be similar with the screenshot below

Screenshots

  1. Home page homePage

  2. RecipePage page recipePage

  3. Favorite page favoritePage

  4. Contact page contactPage

Notes

  1. The API docs: https://www.themealdb.com/api.php
  2. The images can be found in assets folder
  3. Google font: https://fonts.google.com/ (Rajdhani ,sans-serif)
  4. MUI:https://mui.com/
  5. Ant design: https://ant.design/

Reading materials MUI

  1. Text Field: use in Search component (https://mui.com/material-ui/react-text-field/#main-content)
  2. Card: use to display each recipe (https://mui.com/material-ui/react-card/#main-content)
  3. Icons (https://mui.com/material-ui/material-icons/#main-content)
  4. Button (https://mui.com/material-ui/react-button/#main-content)
  5. Badge: (https://mui.com/material-ui/react-badge/#main-content)

recipe-project's People

Contributors

andreaa-dev avatar ismatmashaba avatar

Watchers

 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.