An mDL Verifier (Mobile Driver’s License Verifier) built using React allows secure digital identity verification by scanning and retrieving data from a mobile device. The verifier interfaces with the user's mobile driver's license (stored on their smartphone) using QR codes and Bluetooth (BLE) technology to authenticate the individual’s identity. The React-based interface ensures smooth interaction, handling camera permissions, real-time QR code scanning, and device compatibility, all while ensuring data privacy and security. This setup is ideal for scenarios requiring fast, contactless identity verification, such as airport check-ins or secure entry points.
You can verify the installed version by running the following command in your terminal:
# node -v
If you already have Node.js installed but need to upgrade to version 20, you can use tools like nvm to manage Node.js versions:
# nvm install 20
# nvm use 20
# git clone git@github.com:DTLab-LabCN/DTT-mDL-Testing.git
# cd DTT-mDL-Testing
# npm install --force
# npm run dev
This will start the application, and you can access it by opening your browser and visiting:
# npm run build
The build files will be generated in the ./dist
directory.
# npm run preview
This will serve the production build locally on a server, allowing you to test the final output by visiting: