Reputation: 11
I'm working on a project to manage the attendance of employees in an organization. As part of this web-based project, employees must mark their attendance after biometric authentication (through fingerprints). I'm using React or Angular as the frontend, NodeJS as the backend, and MongoDB as the database. What are the best ways to authenticate employees using their fingerprints? (fingerprints will be taken by built-in fingerprint scanners in laptops or External Scanners).
Suggest any NPM package or something. (Any video tutorials would be very helpful.)
Upvotes: 0
Views: 732
Reputation: 266
You have to create one public POST API in node JS.
For ex: http://localhost:3000/attandance
Then you have to set(integrate) this api in fingerprint device(Such as Biomax).
Now when ever user will give fingerprint to the device then device will call your API(http://localhost:3000/attandance) and send data to your server.
Now you have to extract user id, timestamp and other necessary field from data and create entry in database.
Make sure that every device will send different type of data.
In this approach i don't think you need to do any change in your frontend.
Make sure to connect your device with wifi. (If your device offline and any user give fingerprint then device will send data to backend server whenever it comes online.)
Upvotes: 0