sudomarcma 14d412544e feat: Implement worker authentication and device validation in backend
- Added login route with JWT token generation and device validation for non-manager roles.
- Implemented clocking functionality with geofence validation and distance calculation.
- Created routes for managing workers, including password change and device registration.
- Added security status and app blacklist retrieval endpoints.

feat: Develop Geofence Management component

- Created a Vue component for managing geofences with map integration using Leaflet.
- Implemented functionality to draw, save, activate/deactivate, and delete geofences.
- Added UI for displaying existing geofences in a table format.

feat: Introduce Kill Switch Management component

- Developed a calendar-based UI for managing enabled/disabled dates.
- Implemented functionality to apply or discard changes to the work schedule.
- Added visual indicators for pending changes in the calendar.

feat: Create Warning Reporting component

- Implemented a reporting interface for failed clock records with search and filter options.
- Added detail modal for viewing specific failed record details.
- Implemented sorting functionality for the records table.
2025-07-16 17:57:25 +08:00
2025-06-12 13:50:51 +08:00
2025-06-12 13:50:51 +08:00
2025-06-12 13:50:51 +08:00
2025-06-20 09:39:53 +08:00
2025-06-12 13:50:51 +08:00
2025-06-12 13:50:51 +08:00
2025-06-20 11:28:53 +08:00
fix
2025-06-30 13:32:21 +08:00
2025-06-12 13:50:51 +08:00
2025-06-20 11:28:53 +08:00
fix
2025-06-30 13:32:21 +08:00

NiLai-Clock

Prerequisites

  • Node.js 22.14.0

Customize configuration

Project Setup

npm install

Database Configuration

Create a .env file in the project root with your database configuration:


DB_HOST=your_database_host
DB_USER=your_database_user
DB_PASSWORD=your_database_password
DB_NAME=your_database_name
DB_PORT=your_database_port
VITE_API_BASE_URL=your_api_base_url

Development

Run Frontend Only

npm run dev

Run Backend Only

npm run backend

Run Full Application (Frontend + Backend)

npm run dev:all

Compile and Minify for Production

npm run build

Lint with ESLint

npm run lint
S
Description
No description provided
Readme 2 MiB
Languages
Vue 66.8%
JavaScript 32.8%
Dockerfile 0.2%
HTML 0.2%