You are browsing as a guest. Sign up (or log in) to start making projects!

1h 52m 16s logged

AUTOMATIC SHOPPING LIST!!!!!!!
This will prob be the most useful part of the whole project.
Itll fetch from inventory and read if an item is below you set minimum it adds it to the shopping list, and when youre shopping you go to inventory and add it and the shopping list updates.

I started by creating a foreign key for my shopping_list table.
Then i did basically the same thing for the rest of the html pages, copy everything except <main></main>
and my main is just gonna be loaded from the database.

I made the shopping list work from the database at first to test if it works and looks nice, and it does.
then I wrote all the javascript and of course forgot to add polices but once they were all done everything worked.

Then I added the barcode feature, i start by just adding a button into the add form and updated my js to make the actual button work, i used world.openfoodfacts.org for the barcode database.

I was trying to figure out why the button wouldnt work on my phone but its because its on localhost, so ill have to test later.

Until then, I updated my tables so i added barcode to my items table.

I added expiry tracking also into the inventory page.

The Next thing i did was make the dashboard actually display live info.

0
3

Comments 0

No comments yet. Be the first!