A responsive web application for reading QR codes in real time using the device's camera.
| Technology | Technical Classification |
|---|---|
| Node.js | Runtime Environment |
| Vite | Build Tool / Dev Server |
| React | UI Library |
| HTML5-qrcode | Library / Scanner API |
| JSX | Syntax Extension |
Before you begin, ensure you have the following installed on your machine:
- Node.js (Version 18.0 or higher)
- A package manager (npm, yarn, or pnpm)
-
Clone the repository:
git clone git@github.com:oastro/iziScanner.git cd iziScanner -
Install the dependencies:
npm install
-
Start the development server:
npm run dev
-
Open in your browser: Access one of the addresses displayed in your terminal.
Note: Browser security policies (WebRTC) require a Secure Context (HTTPS) to access the camera.
- In Local Development: You can use
http://localhost, which browsers treat as a secure context. However, if you try to access the dev server via your local IP address (e.g.,http://192.168.x.x:5173) from a mobile phone, the camera will not work unless you enable HTTPS on Vite or use a tunneling tool like ngrok.