Skip to content

Stephane-Pires/food-manager

Repository files navigation

LinkedIn


Logo

Food-Manager

I aim to simplify the food management of a family :

Family Cook book (I'm here right now)
Democratic plannification of meal planification
Auto generation shopping list
Food stock management with expiration date notification
Detection of peremption date inside an image

Table of Contents
  1. Built With
  2. Notes
  3. Roadmap
  4. Contact

Built With

(back to top)

Notes

  • Adding to a page that is statically rendered is probably useless since the loaded state will always be false. The loading will be done at build time. I project to use SSR so... it's not gonna be a problem long term wise

Commit related :
d96817f4716a0d2cffe95c075513ad56d5df7714 d8dff92493a77127edc1cc19087a636d0a6022ab

(back to top)

Roadmap

Short/Mid Term features

  • Cook book
  • Dynamic recipe visualisation
  • Capacity to add recipe with a form (FORMIK)

Dev checklist

  • Create README
  • Migrate to PostgresSQL
  • [abandonned] ScalarTypes nexus DateTime
  • Formik exploration
  • Form myself on Apollo
  • Add mutation "createRecipe"
  • Use prisma-nexus to foward type and description from database
  • Manage success and errors inside the add-recipe page
  • Rethink/Architecture Data Schema of the recipes
  • Add a navBar
  • Add a TextArea for the description field of "add-recipe"
  • Create new import category
  • Fix the checkbox still checked after "resetForm" problem on "add-recipe-form.tsx" : 480249f447147f613de168b9173697a17ba7d90a
  • Fix the bug on "cook-book", it should display the recipes properly with the one that was just added after a succeded mutation. in order Check:
    • 1️⃣ the SSR/Static workflow of NextJS
    • 2️⃣ Apollo mutation/query/cache
    • The bug doesn't happend when the App recompile after a mutation
  • Learn more about Apollo & GraphQL (notably cache management)
  • Refactor/Add Typescript (notably Formik, ApolloClient, NextJS)
  • Use Recoil to manage a number count
  • How to update the types (Typescript) acccordingly to the GraphQL "client-query"
    - [ ] Create a "Typed" folder with utils type from typescript ?
  • Performance issue with TTFB while fetching info using GraphQL "cook-book" "recipe" find where does come from the latency:
    • 1️⃣ Apollo cache ? (again)
    • 2️⃣ Database latency ?
  • React "key" console error with the drawer

(back to top)

Contact

Stéphane Pires - stephane.pires.perso@gmail.com

(back to top)

About

Food-manager private repository

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published