3-member team · On hold prior to rollout
SlogLab
Laboratory information and tracking system digitizing sample registration, dynamic JSONB worksheets, tiered approvals, and automated PDF test reports.
Backend Developer. Built the NestJS/PostgreSQL backend, dynamic worksheet engine, Playwright PDF pipeline, and Swagger API docs in collaboration with the PM/QA and Frontend Developer.
Private repo · On hold
System architecture
Modular NestJS backend enforcing 54-permission RBAC, immutable JSONB worksheet snapshots, atomic multi-tier approvals, MinIO pre-signed storage, and Playwright PDF exports.
Architecture & technical choices
- Dynamic JSONB worksheets & immutable snapshots: Laboratory tests span 14 templates and 1,118 configurable parameters. Storing hierarchical definitions in PostgreSQL
JSONBand freezing aschemaSnapshotper test ensures future template updates never alter historical records, while enabling automated draft report mapping and specification conformity checks. - Atomic sequential approvals & RBAC: 10 roles and 54 granular permissions enforce strict role and category isolation (backed by PostgreSQL partial unique indexes to guarantee one active lead analyst per test). Approval and one-step rollback transitions execute inside
prisma.$transaction()with complete audit trails. - High-fidelity PDF engine (Playwright Chromium): Chosen over low-level PDF libraries so structured laboratory reports and blank/filled worksheets render directly from HTML/CSS Paged Media with exact typography, running headers, and multi-point measurement tables, backed by private MinIO storage with pre-signed URLs.
- Team collaboration: Built in a 3-person team (PM/QA, Frontend, Backend). Maintained Swagger/OpenAPI documentation (
/api/docs) to keep REST contracts aligned with the Next.js frontend.
Scale & status
32 PostgreSQL tables, 16 NestJS modules, and 91 REST endpoints. Source code is private; core development is complete and the project is currently on hold pending client rollout.
Product interface


Technology stack
- NestJS 11
- TypeScript
- PostgreSQL 16
- Prisma
- MinIO
- Playwright PDF
- Swagger
- Docker