Skip to content

azs06/zkteco-microservice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

32 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Express-based HTTP Microservice for ZKTeco Device Logging

This microservice provides an API endpoint to accept data from ZKTeco devices and store it in an SQLite database. Additionally, it offers optional API integration with other applications.

πŸ”— API Integration

To integrate this microservice with another application, set the following environment variables in the .env file:

API_URL=https://api.example.com
API_KEY=1234567890
API_INTEGRATION_ENABLED=true

Refer to services/apiService.js for more details.

πŸ“Œ Available Endpoints

The microservice includes endpoints to retrieve attendance data:

  • GET /api/attendance β€” Retrieves all attendance logs.
  • GET /api/attendance/:id β€” Retrieves a specific attendance log by ID.
  • GET /api/attendance/devices/:deviceSn β€” Retrieves attendance logs by device serial number.

Note: This was tested using the ZKTeco uFace 800 device but should work with other ZKTeco devices as well.

🀝 Contributing

Feel free to contribute by submitting a pull request. Your contributions are welcome! πŸš€


This version is clearer, well-structured, and more visually appealing. Let me know if you need any further modifications! 😊

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published