Link to QR is a comprehensive React-based web application that provides advanced QR code functionality, allowing users to generate, scan, and interact with QR codes seamlessly.
- Upload image-based QR code scanning
- Live camera-based QR code scanning
- Support for multiple QR code formats
- Easy QR code generation
- Customizable QR code creation
- Secure Firebase authentication
- Email-based login
- One-Time Password (OTP) verification via EmailJS
- Frontend: React (Vite)
- Styling: Bootstrap
- Authentication: Firebase
- Email Verification: EmailJS
- QR Functionality:
html5-qrcodefor QR scanningreact-qr-codefor QR generation
- Node.js (v14 or later)
- npm or yarn
- Clone the repository
git clone https://github.com/itz-Hiru/My-Scanner.git
cd My-Scanner- Install dependencies
npm install
# or
yarn install- Set up environment variables
Create a
.envfile in the root directory and add the following:
VITE_FIREBASE_API_KEY=your_firebase_api_key
VITE_FIREBASE_AUTH_DOMAIN=your_firebase_auth_domain
VITE_FIREBASE_PROJECT_ID=your_firebase_project_id
VITE_FIREBASE_STORAGE_BUCKET=your_firebasee_storage_bucket
VITE_FIREBASE_MESSAGING_SENDER_ID=your_firebase_messaging_sender_id
VITE_FIREBASE_APP_ID=your_firebase_app_id
VITE_EMAILJS_SERVICE_ID=your_emailjs_service_id
VITE_EMAILJS_TEMPLATE_ID=your_emailjs_template_id
VITE_EMAILJS_USER_ID=your_emailjs_user_id
- Run the application
npm run dev
# or
yarn devreact: UI Libraryvite: Build toolfirebase: Authenticationbootstrap: Stylinghtml5-qrcode: QR Code Scanningreact-qr-code: QR Code Generationsweetalert: Enhanced Alertsemailjs: Email Verification
- User registers/logs in via email
- EmailJS sends a one-time password (OTP)
- User verifies OTP
- Firebase authenticates the user
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
- You cant't read via qr scanner twice in one login.(Only for camera scanner)
Distributed under the MIT License. See LICENSE for more information.
Hirumitha Kuladewa - [hirumithakuladewanew@gmail.com]
Project Link: https://github.com/itz-Hiru/My-Scanner
Made with ❤️ by itz-Hiru