01
Kognitan QR
Kognitan QR started as one customer’s request for QR-based attendance and became a mobile-first, multi-tenant workforce product: QR attendance, field-duty tracking, leave management, attendance corrections, and payroll-ready timesheets.
- Problem
- Attendance tracking traditionally leans on dedicated card readers or biometric terminals: hardware to buy, install, and maintain at every entry point. QR check-in replaces the terminal with something every employee already carries. The work began as one customer’s request; instead of a one-off tool for one company, it was designed as a product that many organisations can share, which makes keeping each organisation’s people, roles, and records apart the central engineering problem.
- Role
- Co-founder and software engineer at Kognitan. I designed the architecture, a modular monolith in one repository with NestJS, TypeScript, PostgreSQL, and Drizzle ORM behind a Next.js web app and a Flutter mobile app, and built its authentication, authorization, and tenant provisioning.
- Status
- I built this as co-founder and software engineer at Kognitan, a role that ran from December 2025 to September 2026. The product was designed for release beyond the first customer; its current rollout is not described here.
- Selected decisions
- The tenant is derived from the authenticated user on the server. A request cannot name the organisation it wants to act on, so tenant scope is never a value the client supplies.
- Every API is protected by an explicit permission, checked through reusable access guards over tenant-scoped roles, so access is decided in one place instead of endpoint by endpoint.
- Tenant isolation is covered by tests that run against a real PostgreSQL database, so the boundary is checked where it is enforced rather than against a mock.
- QR-based check-in replaces dedicated attendance terminals, trading specialised hardware for a software-level trust problem that can be controlled and improved over time.



