Create QR Codes with editable URLs + download + save to database
Hi everyone , what would be the best approach to do this in Toddle ? I ´m trying to build a QR code generator . The user enters a URL (https / /www .hello .com ) and the QR Code get created . The created qr code should then be uploaded to my database (xano ) and the user should be able to download the image of the QR code . Also the URL should be editable so the user can change the URL to https / /www .hi .com or whatever without changing the QR code . A user can create only 1 QR code but the URL can be edited any time (imagine that the QR code already got printed and you just need to change the URL because you found a typo but you don ´t want a new QR code because then you would have to reprint everything . . ) . I ´ve tried asking ChatGPT and Claude , watched a few youtube videos but I couldn ´t get this to work . Also using a third party solution is not an option . I would appreciate any help 🙏 There are a couple that are pure JS It would be much easier to use those As to the URL change , I would imagine that is done via redirects As the QR code doesn 't actually change And the URL doesn 't stop working So for a URL change , you 'd have to implement a redirect to the new URL which is not a QR code function but a DNS logic one or is there a way to export everything ? If you use it in your stack - yes it would be part of the solution ! No , just like Toddle , it doesn 't make sense to code export from Comnoco , comnoco IS the visual programming language and platform to run on . So it 's very easy to do , you just need to create two API functions like in the screen shots (read them from top to bottom from the inputs , to the logic to the outputs ) . 1 . Creates a QR with your client /customer unique ID then stores the lookup of the ID - > URL in a database of your choice 2 . Responds to requests to the URL above , looks up the intended URL target and redirects the browser to it . @NoCode ProCode - thought you might like this ? Unfortunately my country is quite strict when it comes to GDPR . Does it say anything thing about the compliance on the website ? I could only find a blog post . And since the data is processed by Comnoco GDPR regulations apply (regardless of whether the data is stored or not ) . Also I would need a data processing agreement , is it possible to get one ? 😬 Yes , sure , no problem , we provide them to customers on paid plans on request . You 'll also find a little on GDPR here https://comnoco.com/privacy Since they run server -side - @Lucas G
Depends what you mean by safe