使用 React.js 串接 Recipe Search API 製作食譜網站

Avatar of 黃昱潔.
Avatar of 黃昱潔.

使用 React.js 串接 Recipe Search API 製作食譜網站

前端工程師
New Taipei City, Taiwan

使用 React.js 串接 Recipe Search API 製作食譜網站,並部屬至 Firebase

API ID & KEY 放在 .env 檔內,可至 GIthub/README 查看


食譜網站連結(Firebase):

https://recipeapp-reactjs-22d3c.firebaseapp.com/


Recipe Search API:

https://developer.edamam.com/edamam-docs-recipe-api

在 Search bar 輸入食材關鍵字,如 "tomato"

以及選擇健康標籤選單

則可獲得 "tomato" 相關食譜

由於螢幕錄影無法擷取到健康標籤選單內容,這邊附上選單縮圖

點擊圖片即可查看食譜

查詢其他食材關鍵字,如 "broccoli"

專案技術


- Node.js v16.18.0

- axios v1.2.1

- react v18.2.0

- react-dom v18.2.0

- react-scripts v5.0.1

使用 React.js 串接 Recipe Search API 製作食譜網站,並部屬至 Firebase 食譜網站可以食材關鍵字搜尋食譜,點擊圖片可查看食譜
Avatar of the user.
Please login to comment.

Published: Jan 9th 2023
239
5
0

Tools

bootstrap
Bootstrap
react
React
sass
SASS
npm
npm
javascript
JavaScript
html5
HTML5
github
GitHub
css3
CSS3

bootstrap
sass
npm
github
firebase
axios
.env
API
css3
html5
javascript
react.js

Share