Andreu Playà
EN
← All projects Build log

tas_ixa

A time and attendance system that reads what a physical clock device writes, takes corrections through an approval workflow, and reports the hours actually worked.

Status In production
Started May 2026
Stack Node · Vue 3 · SQLite

What it is

Overview

A clock device on a wall produces tab-separated exports and no opinions. This turns them into per-employee hour reports, and handles the part the device cannot: the day somebody forgot to clock out.

The design rule is the one I learned on validated machines — history is not edited, it is corrected. A correction is a proposal until it is approved, the original reading stays where it was, and every applied change can be undone from a history panel. An incomplete session shows its running duration instead of the word "incomplete", because a supervisor needs the number, not the label.

How it evolved

Arc

It started as a Python script that parsed the export files, grew a web UI, and became difficult to reason about — one server file doing everything. Splitting it into readable chunks helped, but only postponed the decision.

May — the rewrite. Migrated to a TypeScript monorepo with Vue and Vite, which is where the approval workflow, the change history with undo, and multi-file uploads landed. Then a deliberate pass removing dead code and the antipatterns the first version had accumulated.

August — the foundations. Login and session handling hardened against leaking personal data, an architecture document written to make the module boundaries explicit, and persistence moving from flat files to embedded SQLite.

September — closed. The migration finished with full coverage on the server, two-step sign-in became mandatory, and it moved to its own server with a monthly report by mail.

Screens

Interface
One employee’s month
One employee’s month: amber times are corrections waiting for approval, and a day with no clock-out says so. Demo data.
Corrections
Corrections: pending ones to approve or reject, applied ones with the button that reverts them. Demo data.

Changelog

Newest first

September 2026

2026-09

SQLite closed, two-step made mandatory Security

The storage migration finished with the suite back to green — and then to full coverage on the server, which found two real bugs on the way. Logging in now takes an email and a password plus a code by mail, with recovery by mail as well.

2026-09

Moved to a VPS, monthly report Infra

Out of the house and onto its own server, deployed by its pipeline. Each month, the hours report goes out by mail on its own.

August 2026

2026-08

SQLite migration Infra

Replacing JSON file persistence with embedded SQLite. Work in progress — the test suite is red while the storage layer is being swapped underneath it.

2026-08

Login and sessions hardened Security

Closed the paths where personal data could leak through login responses and session handling. In a system that holds when each person came and went, that is the whole risk surface.

2026-08

Architecture blueprint Refactor

A written module inventory and data-flow map, with an honest read of where the code does and does not follow clean architecture. Written to be argued with, not to decorate the repo.

May 2026

2026-05

Rewritten as a TypeScript monorepo Refactor

From a Python server to Vue and Vite in a typed monorepo, with tests. The same features, on foundations that could carry the next ones — followed by a pass that removed unused code and the antipatterns the first version had grown.

2026-05

Corrections as a workflow Feature

A correction is proposed, not applied: employees can raise and cancel their own, an approver accepts or rejects, and every applied change can be undone from a history panel that sits beside the pending queue.

2026-05

Reading the device Feature

Multi-file upload of the clock exports, with the view reloading as new files arrive. Incomplete sessions show a computed running duration instead of the word "incomplete".

2026-05

First commit Start

A parser for a tab-separated export, and the suspicion that this would not stay a script.