Skip to content
← all work
OPERATIONS PLATFORM

Flight Operations Portal — For a 24/7 Aviation Operations Team

An aviation trip-support company's 24/7 operations team relied on WhatsApp and email workflows — tools that have no roles and enforce no rules.

Next.jsTypeScriptSQLiteDrizzle ORMLinux
Outcome

Replaced the WhatsApp and email workflows of a 24/7 aviation operations team. Finance data is restricted by role, and a flight cannot be closed with work outstanding.

The problem, precisely

An aviation trip-support company's operations team works around the clock, and it relied on WhatsApp and email workflows. Those are tools built for conversation. A chat thread has no roles and cannot enforce a rule.

What I built

A production operations portal on Next.js, TypeScript, SQLite, and Drizzle ORM that replaced those workflows. I was both the full-stack engineer and the security engineer, and I built and deployed it. It is live in production and used by operations, finance, and management.

Access is decided on the server

There are four roles: Operations, Finance, Admin, and Management. Role-based access control is enforced on the server for every page and every action, which is what keeps finance data restricted.

Audit and hardening

I ran a security audit and hardened the system. Passwords are hashed with bcrypt. Temporary passwords are 72-hour and must be changed at first sign-in. Sessions can be revoked instantly. A new admin has a 24-hour cooling-off period before they can approve anything, and there are safeguards so the last admin can never be locked out. Underneath all of it is a full audit trail of who did what and when.

Business rules in code

Business rules are enforced by the server: a flight cannot be closed with work outstanding, and finance is alerted when a service has no cost recorded. They exist to stop revenue leaking at billing.

Hosting

The portal runs on a Linux VPS that I secured: HTTPS via Caddy, key-only SSH with root password login disabled, and PM2 for process management. Backups are automated, encrypted with age, access-restricted, and synced to the company's NAS.

An incident I handled

I also handled a live WhatsApp account compromise at the client: I identified the malware lures sent from the hacked business number, advised on containment, and wrote a staff security guide and an incident-response checklist.