Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/karamanburak/recipe-app

🍪 This project aims to search for meals according to the desired meal time and access the corresponding recipe.
https://github.com/karamanburak/recipe-app

localstorage react react-hooks styled-components

Last synced: 1 day ago
JSON representation

🍪 This project aims to search for meals according to the desired meal time and access the corresponding recipe.

Awesome Lists containing this project

README

        

# recipe-app

[Recipe App Live](https://recipy.vercel.app/)

## Description

This project is a simple recipe project. The project is developed with react. The aim of the project is to access the recipe by searching for the desired dish and the desired meal time. You need to be logged in to access the recipe.
`The user must enter username: "name" password: "1234" to access the login page or details page: "1234".`

## Project Skeleton

```
06 - Recipe App (folder)
|
SOLUTION
├── public
│ └── index.html
├── src
│ ├── assets
│ │ └── [images]
│ ├── components
│ │ ├── header
│ │ │ ├── Form.jsx
│ │ │ ├── Header.jsx
│ │ │ └── style.jsx
│ │ └── navbar
│ │ ├── Navbar.jsx
│ │ └── style.jsx
│ ├── context
│ │ ├── RecipeProvider.jsx
│ ├── pages
│ │ ├── about
│ │ │ ├── About.jsx
│ │ │ └── style.jsx
│ │ ├── details
│ │ │ ├── Details.jsx
│ │ │ └── style.jsx
│ │ ├── errorPage
│ │ │ ├── NotFound.jsx
│ │ │ └── NotFoundStyle.jsx
│ │ └── home
│ │ ├── Home.jsx
│ │ ├── RecipeCard.jsx
│ │ └── style.jsx
│ │ ├── login
│ │ │ ├── Login.jsx
│ │ │ └── style.jsx
│ │ ├── register
│ │ │ ├── Register.jsx
│ │ │ └── Style.jsx
│ ├── router
│ │ ├── AppRouter.jsx
│ │ └── PrivateRouter.jsx
│ ├── App.js
│ ├── index.css
│ └── index.js
├── .gitignore
├── LICENSE
├── package-lock.json
├── package.json
├── README.md
└── yarn.lock
```

## Outcome

![Project Snapshot](./src/assets/recipe-app.gif)

## Steps to Solution

- Step 1: Create React App using `yarn create react-app recipe-app`or `npx create-react-app recipe-app`

- Step 2: Signup `https://developer.edamam.com/edamam-docs-recipe-api` and get api key.

- Step 3 : Using api key and `axios` for getting data from `https://api.edamam.com/search?q=${query}&app_id=${APP_ID}&app_key=${APP_KEY}&mealType=${meal}`.

- Step 4: You are expected to code your project with **styled component**

- Step 5: You can use Context API for Global State Management

- Step 6: You can get random login background image from `https://picsum.photos/1600/900`

## Notes

- [Assets Folder](./src/assets/)