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

Grocery Price Tracker

  • 5 Devlogs
  • 9 Total hours

Important: The server may take some time to start back up after it hasn't been accessed for a while. If it isn't reachable wait 2min or so and try again. Also you must use http and port 80 Service that can track the prices of some local grocery stores. Beware, the products and the legal notice are all in german and prices are in euros. I wonder how they compare to prices elsewhere? Note: Refresh on startup has been removed to make it build faster for some small bugfixes. Not enough time for a new devlog though

Open comments for this post

2h 31m 40s logged

Devlog #5: Final upload

After I finally finished uploading everything to the server and fetching all of the 22K products they have, I noticed that the page is kinda laggy if you try displaying all of them at once (who would have thought). So I implemented paging and downloaded everything AGAIN, because idk?. There is db persistence across builds, but I do it on startup anyways.

And all of that with 1s delay between requests to avoid getting rate-limited by their server. It took sooo long. Anyways, it is ready for shipping, I hope you enjoy it!

0
0
1
Open comments for this post

56m 32s logged

Devlog #4: Setting up a server

So for the last day or so I’ve been working on setting up an online server. Getting the OCI (Oracle) Free Tier account took forever and then actually aquiring a machine too; They’re always out of resources, unless you upgrade to pay as you go. The one hour logged here is mainly me creating new Dockerfiles, that don’t have any of the build tools in the live server. Idk what to show, here is some screenshot from the server I set up:

0
0
2
Open comments for this post

1h 40m 33s logged

Devlog #3: The frontend

I restructured my project a bit, so I could have a simple web UI for my project. Nothing fancy yet, but it proofs that everything works. Still, quite interesting, since I have never used React before and I see why so many people like it (Also got a fair bit of help from AI with the design; that’s not really my cup of tea).

Since all of the base features are implemented now, I think I will ship it soon, but before that, I want to make a few more adjustments (to not get rate-limited) and polish the UI a bit. Below you see the first UI draft

0
0
1
Open comments for this post

1h 59m 12s logged

Devlog #2: Data Expansion

After I got everything set up last devlog I now added some real data collection capabilities. We now track:

  • name
  • brand
  • vendor
  • price of one unit
  • size of one unit (The thing in the image, not necessarily 1 kg/L/etc)
  • image URL
  • reference price (How much does 1 kg/L/etc cost?)
  • tags like “organic”, “gluten-free”, etc

I also restructured some of the code to make it easier to add new vendors, befor we were kinda fixed on SPAR. That’s all for now, I will now go and create a frontend so that next time I can show you more than some db schema.

0
0
1
Open comments for this post

2h 6m 53s logged

Deblog #1: New Project

The end goal is to have an app that can compare prices between different grocery stores and can tell you where you can get your items the cheapest. I have set up a basic project in Docker with Rust and Postgres. Current capabilities are loading product data from SPAR deserializing, structuring and storing it in the db. There is no UI yet, but thats the next step.

0
0
2

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…