Case · Work-safety platform · Norway
A 2023 system,moved in two days
Our own build. A work-safety platform with courses, a shop, risks, meetings and time tracking. Two years without updates, then one night and a day on the parts we have ready and tested. Measured in the code.
Why move at all
It worked.It was rotting
Feature work ended in March 2024. After that: a patch in June 2026, a fix in September. Nothing else.
- Frameworks from 2019 to 2022.
Node 16, end of life since 2023. 122 packages with known holes, 15 critical.
- Password only. Unlimited tries.
No two-factor, no lock-out, no security headers.
- Zero tests. Secrets in the repo.
Every release was a hope.
- An audit trail nobody could read.
Rows written, no screen to open them.
The move
Monday nightto Wednesday
One import command: 46 old tables into 53 new ones, nine integrity checks, every skipped row listed. Same passwords, same links, same domain.
- Monday 22:30The parts we have ready go in.
1,770 files of shared code, before a single screen of the platform.
- Tuesday 09:03Rebuilt.
Every page and form, a dashboard, a new sidebar. Security fixes on the way.
- WednesdayLive.
The production database imported in the morning, DNS switched. Customers noticed nothing.
- ThursdayVersion 2.0.0, 33 approved pieces.
Archive, calendar, two more languages, PDFs, live payments, a user guide with screenshots.
Before and after,in the code
- Login
Password only, no rules, unlimited tries
Strong passwords, two-factor app, Google sign-in, try limits
- Backups
None in the code
A database copy before every release, nightly dumps
- Updates
Frameworks from 2019 to 2022
2025 to 2026, patched with every system on our ready parts
- Release safety
No tests
396 test files before each release
- Permissions
4 roles fixed in code
Company roles with 11 editable permissions
- Audit trail
Recorded, no screen
A screen, with the old history imported
- Languages
3
5, every label editable
- Exports and PDFs
One export, two browser PDFs
Excel from any list, certificates, six report types, a documentation bundle
- Hosting
Node 16, end of life 2023
Node 22, PostgreSQL 16, hardened server, separate staging
What arrived without a ticket
33 pieces in version 2.0.0
The 2023 system was ours. The numbers above come from the code, not from traffic. How many users and courses moved is not in the code, so it is not on this page.