● --::-- CET — WROCŁAW, PLV.001 / Est. 2026
The Kompanowski Index[About][Work][CV][Contact]··
[ ← Work ]
[ KMP-2026-002 · 2026 · production ]

Hours Platform

A production platform for crew planning, working-time records and settlement for a rail-construction company — from staffing orders, through a plan compliant with Polish and German labour law, to site reports and payroll export.

The most ambitious project in my ecosystem — a production system serving several trade departments. It replaced spreadsheets and phone calls with a single source of truth: who, where, when, in which vehicle — and how many hours were actually worked.

At its heart is an employees×days timeline: drag-and-drop assignments, rotations with automatic outbound and return travel days, vehicles and drivers that follow the crew, plan sketches, Polish and German public holidays (per federal state) and live presence of other planners over WebSocket.

The schedule enforces labour law on both sides of the border — Polish Labour Code and German ArbZG rules, equivalent working-time systems, daily and weekly rest. It flags violations, proposes days off and approves plan versions. The settlement engine compares plan with execution under two overtime regimes; six Excel reports and the payroll export are guarded by golden tests.

Foremen log work from the site on their phones — offline too, with a sync queue, photos and PDFs in Polish or German. Plus per-department roles and permissions, 2FA, an audit log, GDPR retention and anonymisation, and encrypted off-site backups.

Scale: 550+ commits, ~1,000 backend tests, 30+ Playwright end-to-end scenarios (including mobile and visual), 38 database migrations and CI on every PR. Models wrote much of the code — the architecture, review and release decisions are mine.

[ Modules ]
Planowanie
timeline, labour-law-aware schedule, staffing orders, absences, statistics and cost forecast
Raport
daily site report on the phone, offline, photos, PDF PL/DE
Ewidencja
plan ↔ actuals day by day, PL and DE overtime, Excel and payroll exports
Flota
vehicles and drivers bound to orders, following the crew
Administracja
departments, staff, contracts and annexes, qualifications, users and roles, archive, audit
Bezpieczeństwo
2FA, per-department RBAC, GDPR (retention, anonymisation), encrypted off-site backups
[ Stack ]

React · TypeScript · FastAPI · PostgreSQL · WebSocket · Docker · PWA · Playwright

[ Category ]

Kolej · Web · Automatyzacja