QR Code generator as REST API using Spring Boot!

Maheshwar Ligade
techwasti
Published in
3 min readSep 16, 2021

--

In this article, you are going to learn how to generate QR codes & barcodes and expose that as API in spring boot.

TechStack:-

  1. Java11
  2. Spring Boot
  3. google zxing
  4. Gradle
  5. VSCode editor

Whats is QR Code?

QR codes are everywhere from education, defense to entertainment. If you are familiar with financial Apps or ticket booking applications everywhere QR codes are used. These days people are frequently using the QR Code to transfer money to their relatives and friends, one of the examples is GPay, Paytm apps.

A QR code (abbreviated from Quick Response code) is a type of matrix barcode (or the two-dimensional barcode[1]) invented in 1994 by the Japanese automotive company Denso Wave.[2] A barcode is a machine-readable optical label that contains information about the item to which it is attached.

Coding:-

Let us jump and start coding. I am using vs code editor to generate a spring boot project. If you want to know how to set up vscode for the spring boot project please watch the below videos.

--

--

Maheshwar Ligade
techwasti

Learner, Full Stack Developer, blogger, amateur #ML,#DL,#AI dev in the quantum moment. I run https://techwasti.com/ to post all my articles.