Skip to content
Public template

About

I created this repo to generate a nice qr code via API. It generates and stores the QR code making it accessible via static url.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

8 Commits

Folders and files

Repository files navigation

QR Code Generator

I created this repo to generate a nice qr code via API. It generates and stores the QR code making it accessible via static url.

There are way more options that you can add, but this was what I currently needed.

👉🏻 More options qr-code-styling-node

Dependency

Language

  • TypeScript under ./src
  • JavaScript under ./build

Install

npm install

Developer Mode

nodemon watches file changes and reloads the server automatically.

npx nodemon src/server.ts

or

nodemon src/server.ts

How to use

  1. Style your QR code here
  2. Export Options as JSON
  3. Add options to qr.vars.ts under src/controllers/
export const myStyle = {

	width: 320,
    height: 320,
    ...
}
  1. Generate QR code: http://localhost:1996/qr/create/1234567890.png
  2. Retrieve png file: http://localhost:1996/qr/show/1234567890.png

Examples

About

I created this repo to generate a nice qr code via API. It generates and stores the QR code making it accessible via static url.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages