/barcode-reader

Primary LanguageTypeScriptMIT LicenseMIT

Barcode Reader

React x TypeScript example.
Copy from Qugga2.

Source

Run

% npm i
% HTTPS=true npm start

You'll get something like following:

Compiled successfully!

You can now view react-app in the browser.

  Local:            https://localhost:3000/
  On Your Network:  https://192.168.0.24:3000/

Note that the development build is not optimized.
To create a production build, use npm run build.

For SmartPhone: Open IP address on your Mac(ex: https://192.168.0.24:3000/).

For Mac: Open local IP address on your Mac(ex: https://localhost:3000/).

Note

  • Readable for black text barcode.
  • iPhone camera allows for only https.
  • Scanner.tsx doesn't work for now.