GithubHelp home page GithubHelp logo

riveruniversity / qrcode-generator-express-api Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 266 KB

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.

Shell 0.10% TypeScript 99.01% Pug 0.88%
qrcode-generator qrcode-generator-api

qrcode-generator-express-api's Introduction

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

qrcode-generator-express-api's People

Contributors

riveruniversity avatar

Watchers

 avatar

Forkers

abboxqbadi

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.