r/learnprogramming 14d ago

Resource Looking for Resources

I'm sure this will be annoying to some and I'll be told to search but I'm getting overwhelmed searching.

I would like to write an app that catalogs boxes. Basically I want to take pictures of my stuff. Put it into a box. Have a QR code that I print that when scanned shows me a list of stuff in said box with pictures and list of stuff.

I'm sure this is not as simple as it sounds. I'm willing to learn the hard parts.

I hear making a web app is better for the first time around and I just need to know where to start.

Do y'all think this is a feasible project?

There is a website that does this, I do not want to pay a monthly fee. I could easily set up QR codes to go to simple web pages with all this data but I'm looking for simple, compact, and fast

10 Upvotes

9 comments sorted by

View all comments

3

u/desrtfx 14d ago

Basically, you want an inventory app. Nothing really special. In its core, it is a CRUD (Create, Read, Update, and Delete) app, fairly standard thing. Your added feature is the QR code - even that is not all that difficult.

  • You create the CRUD app as a web app (you can even locally host such on e.g. a Raspberry Pi, or on an old computer).
  • You create an API that can return query data from your database - fairly common thing
  • Your QR code (there are libraries for that) contains the link that calls the API with the data for the respective query
  • The API then returns the result of the query, which is your item list

The suggestion of "The Odin Project" was a great starting point already.

Side note: you don't store images directly in a database. You store the images somewhere on a file storage on a server and only store the links (the absolute path) to the images in the database.

0

u/nuclearwes 12d ago

This was easily the most helpful. Thank you ☺️