Validate qr codes

I have some qr codes printed
I want to create a qr reader that allows scanning only 1 time each code can appear an "admitted" text
and if a code is used 2 times, the text "used ticket" appears
that a csv file be generated with the codes that are scanned
For now I only have the reader
Could you help me with the rest, I would really appreciate it.

store your codes in a database and check, if the code was already stored before displaying your text
this can be a local database like TinyDB or SQlite in case your app is running n only one device
however in case you run it on several devices, you need a server database

to create the csv file, use the file component


1 Like