How do I create a QR code in a database?
I want to create a QR code for those who have bought tickets to events.
Best Answers
-
Hi @Ayo Cruz - you'll need to leverage a third-party service to generate your QR codes. I'm personally have never used a service like this, but here's the first one that came up when I google searched QR code APIs: https://goqr.me/api/. I'd poke around at a few top ones from the search results to see what fits your needs.
-
@Ayo Cruz - the Random Number function will generate a number for you. (Function Stack > Security Functions > Random Number)
Answers
-
… Once the QR code is created, you should be able store that as an image or attachment in the Xano database.
-
Just a thought - I wouldn't save the QR code in the Xano db. It's more useful to generate it on the client side just in time. YOu save the information you want to be stored in the QR code (a URL etc) and send that string to the front end. Then the front-end converts. There are many libraries that will do this for you on a low-code basis, or you can use a service to convert, which might be especially helpful for sending to a PDF generator or emailing the image.
-
Thank you for your responses.
I'm using bravostudio.app and I found it on a page they offer. https://docs.bravostudio.app/bravo-tags/mobile-actions/scan-codes-remote-action
-
Bravostudio was created through Xano. And do you have any snippet created?
-
I just need to generate a number. For example: 9780201373455 and create a data code.
-
Thank you very much! :)
Categories
- All Categories
- 53 ? Announcements
- 47 ? Releases
- 37 ? Welcome
- 983 ? Help! I'm a Noob
- 125 ? No-Code Front-Ends
- 633 ? Working with APIs
- 439 ? Transforming data
- 126 ? Connect Xano to ...
- 50 ?? Find an Expert
- 348 ❓Other questions
- 35 ? Security
- 22 ✂️ Snippets
- 19 ? Showcase
- 7 ?️ Xano Chatter
- 62 ? Video Tutorials
- 171 ? Request a feature
- 229 ? Report a Bug
- 19 ? Templates & Extensions
- 7 ? Feedback