Skip to content

CodeLeom/QR-Code-Generator

Repository files navigation

A basic QR Code generator

Once this code is cloned, run npm i in your terminal or command prompt to install all the dependencies needed.

Still in your command prompt, run node qr-code-genCLI.js

you will be prompted in your terminal to input the url you wanted to generate QR code for. Once you enter the url and hit enter, a QR code image will be generated for you immediately.

Use the User Interface Route

In your terminal or command prompt run node index.js to start the server running on port 3000.

Load the index.html in your browser, you can use the form to generate your QR Code

Use the Live Version

Try the Live Version

Future plan

Add URL shortner

Enjoy!!!