Skip to content

jovani-x/cuisine-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cuisine App

Under construction...

Data

All recipes come from spoonacular food API via a proxy server

Tech stack

  • React + TypeScript
  • React Router
  • React Query + Axios
  • IndexedDB + Dexie
  • Material UI (MUI)
  • Chart.js
  • Vite

Restrictions

Only one user's device (for now)

The collection can't be shared with a few user's devices because it is stored in local IndexedDB.

There are spoonacular API restrictions:

Cache lifetime

You may cache user-requested data to improve performance (for a maximum of 1 hour). After 1 hour, you must delete your cache and refresh the data via the spoonacular API. If you stop using the spoonacular API or if your access to the API is suspended for any reason, then you must delete all data you ever obtained from the spoonacular API.

So, only recipe IDs are permanently stored in IndexedDB to track which recipes the user "has" in their collection. And data is refetched every hour.

Limited number of requests per day

Quotas details.

About

Cuisine app: let's find something yummy 😋

Resources

Stars

0 stars

Watchers

1 watching

Forks

Contributors

Languages