Enterprise · NDA Protected

Industrial Labor Management System

Industrial workforce, fully digitized.

Next.jsDjangoPostgreSQLSQLiteWebSocketDRF
Documented Outcomes

Measured, Real-World Results

0 Data Loss

Offline-first SQLite sync eliminated attendance record gaps during network outages.

~70% Faster

Payroll processing time reduced from multi-day manual reconciliation to same-day automated generation.

100% Visibility

Plant management gained real-time labor cost exposure and attendance dashboards across all shifts.

4 Role Portals

Tailored interfaces for Manager, HR, Supervisor, and Finance — each scoped to exact operational needs.

Executive Summary

Project Overview

Achint LMS is an enterprise labor management system purpose-built for large-scale industrial operations. It consolidates contractor management, biometric attendance, shift scheduling, daily wage calculation, and compliance reporting into a single, role-based platform — operating reliably in environments with intermittent connectivity through an offline-first SQLite sync architecture.

The Challenge

Operational Bottlenecks

Industrial sites run on human coordination by default — attendance registers, cash advances tracked in notebooks, and daily wage calculations done manually at shift end. At scale, this breaks catastrophically.

  • 01

    Paper-based attendance records with no audit trail, prone to manipulation and human error at large contractor volumes.

  • 02

    No centralized contractor database — onboarding required physical paperwork across multiple departments.

  • 03

    Wage calculation happened days after shifts, causing disputes between contractors and site supervisors.

  • 04

    Zero real-time visibility for plant management into labor deployment, attendance rates, or daily cost exposure.

  • 05

    Intermittent internet connectivity on the factory floor made cloud-only solutions completely impractical.

Architecture & Solution

How It Was Built

01

Offline-First Data Layer (SQLite → PostgreSQL Sync)

Each on-site terminal runs a local SQLite database that captures attendance, shift starts, and exceptions in real time — regardless of network availability. A background sync daemon detects connectivity and flushes queued records to the central PostgreSQL instance with conflict resolution. This ensures zero attendance data loss even during multi-hour network outages.

02

Real-Time Attendance via WebSocket

Biometric events are streamed over a persistent WebSocket connection to the Django Channels backend. The supervisor dashboard shows a live attendance board — every clock-in and clock-out reflected within 200ms. For offline terminals, events are queued locally and replayed on reconnect with accurate original timestamps.

03

Role-Based Access Architecture

Four distinct roles — Plant Manager, HR Admin, Site Supervisor, and Finance Officer — each receive a tailored Next.js interface rendered server-side with per-role data scoping at the Django REST Framework layer. No role can access another's module; JWT tokens enforce API-level authorization on every request.

04

Automated Wage & Compliance Engine

Shift data feeds a Django calculation engine that applies contractor-specific wage rates, overtime multipliers, and statutory deductions automatically. End-of-day payroll reports are generated as downloadable PDFs with a full audit trail, ready for statutory compliance submissions.

FAQ

Common Questions

How does the system handle biometric hardware integration?

The WebSocket layer abstracts the hardware layer — any biometric device with an API or TCP output can be adapted. The Django Channels consumer handles events generically and maps them to attendance records.

Can the system scale to multiple plant locations?

Yes. Each plant site runs its own offline terminal cluster with a site ID. The PostgreSQL backend partitions data by site, and the admin panel provides aggregated cross-site analytics.