Skip to content
/ solid-scan Public template

This repo contains a highly configurable and duplicatable QR code scanning web interface.

License

Notifications You must be signed in to change notification settings

jeremiah-carlson/solid-scan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Solid Scan

Solid Badge Deploy GitHub Pages GitHub code size in bytes GitHub last commit (by committer)


Sample

Contents

  1. Summary
  2. Quick Start

Summary

Solid Scan is designed to be a simple and easily configurable web based QR code logger. It achieves this through he use of a single config file, allowing the user to predefine delimiters, value labels, selectable categories, backend-service, ect.

Sample Config File

const conf = {
    name: "concert", // URL = https://<host>/<routePrefix>/<name>
    routePrefix: "/test",
    debug: flase,
    output: {// Backend Service
        origin: origin,
        path: 'scan/output/',
    },
    delims: {// Allow you to adjust for pre-defined QR codes
        settings: '@@',
        mainInput: '-'
    },
    categories: [// These catagories will be sent with each request and are configurable within the UI
        {
            name: 'city',
            //alias: City / Region, //(optional)
            options: ['Austin','Atlanta','Tennessee', 'Chicago','Baltimore','New Orleans','Boulder']
        },
        {
            name: 'artist',
            options: ['Lightning Hopkins', 'SRV', 'Eric Clapton', 'Muddy Waters', 'Lemon Jefferson', 'Buddy Guy', 'John Hurt']
        },
        {
            name: 'ticket',
            options: ['General','Backstage','VIP', 'Staff']
        },
        {
            name: 'night',
            options: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday']
        },
    ],
    input: {
        labels: ['ticketNo', 'section', 'seat'],// These represent the keys for the associated QR values
        constants: {
            'company': 'Ticket CO.',// Constants will send with every request and will not be configurable within the UI
        },
    },
};

export default conf;

Quick Start

To test out Solid Scan, clone this repo locally and run the following commands:

cd www
npm install
npm run dev

About

This repo contains a highly configurable and duplicatable QR code scanning web interface.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published