Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pixelverse-llc/strich-react-sample
React sample code for STRICH SDK integration
https://github.com/pixelverse-llc/strich-react-sample
barcode-scanner react strich-sdk
Last synced: 20 days ago
JSON representation
React sample code for STRICH SDK integration
- Host: GitHub
- URL: https://github.com/pixelverse-llc/strich-react-sample
- Owner: pixelverse-llc
- Created: 2024-06-25T09:52:19.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-11-25T15:54:52.000Z (about 1 month ago)
- Last Synced: 2024-11-25T16:41:24.394Z (about 1 month ago)
- Topics: barcode-scanner, react, strich-sdk
- Language: TypeScript
- Homepage: https://strich.io
- Size: 99.6 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# STRICH React Example
This example shows how to integrate STRICH into a web app built with React using functional components.
A license key is required to run this sample, see file `scanner-config.ts`. Check out the [Getting Started guide](https://docs.strich.io/getting-started.html) if you don't already have a key.
This project was scaffolded using `npm create vite@latest strich-react-sample` and choosing `React` and `TypeScript` options.
React StrictMode is disabled in this sample because the scanner component can't handle being initialized twice in short order.
To run the sample, run `npm install` once and then `npm run dev` to start a development server on `https://localhost:5173`. To expose the development server using HTTPS, you might to use a tool like ngrok.