Freelance · aerospace training centre, Casablanca · 2026

Rebuilding two tools without making anyone relearn them

One tool tracked improvement projects, the other collected employee ideas and votes. Both had serious problems underneath.

FastAPI · SQLAlchemy · Django · PostgreSQL · Argon2 · pytest · Docker Compose · Caddy · Claude API

Screens run on a demo database with synthetic data. Real client data stays private.

The same look, one shared database.
The same look, one shared database.

01

An account that existed on one PC

  • The tracker was a single 2,500-line HTML file.
  • Every browser kept its own copy of the data.
  • I built a real API and database behind the same interface.
A project waiting for approval.
A project waiting for approval.
Planned against actual dates.
Planned against actual dates.

02

The browser stops being the boss

  • Roles were only conditions in the page.
  • The server now checks every request.
  • Pilots update only their own actions, after approval.
Six one-click analyses.
Six one-click analyses.

03

A secret key in every browser

  • Users pasted an AI key that stayed in the browser.
  • The key now lives on the server.
  • Context comes from the database, with per-user limits and escaped answers.
An idea with before and after photos.
An idea with before and after photos.
Submitting an idea.
Submitting an idea.

04

Same pages, safer inside

  • Any signed-in user could edit ideas or delete photos.
  • I ported 22 page templates to Django, keeping design and addresses.
  • Added ownership checks and verified uploads.
The jury vote.
The jury vote.
Company-wide results.
Company-wide results.

05

Rules nobody could see

  • Votes ran on 7 database triggers and a stored procedure.
  • I moved them into one tested Python module.
The ideas after migration.
The ideas after migration.

06

The only copy was a damaged dump

  • One database export, unusual encoding, broken accents.
  • My importer repairs accents only when safe, keeps IDs and hashes passwords.
  • 32 accounts, 58 ideas, 760 votes and 75 photos arrived in one run.
Two isolated stacks on one server.
Two isolated stacks on one server.

07

Moving in next to a live app

  • The server already ran a production application.
  • Each tool got isolated containers behind the existing proxy.
  • Production was never restarted.

Want to hear more?

Message me

Next story: A shop that could not log in