Skip to content
milon27.
← All work

Desktop app

Turning everyday work into badges people want to earn

Log the work, earn the badge, get the email. I built a desktop app that turns completed tasks into a staff progression system, and it runs with no server at all.

Client
Optimise — a staff recognition and performance product
My role
Software engineer
Timeline
3 months
When
2025

The situation

Optimise wanted to reward good work in a way staff would notice. The idea is simple: every time an employee completes a task on a project, it counts toward a badge. Earn enough small badges and you unlock a bigger one. The aim was to make progress visible, so people could see how far they had come and what was next.

There was one constraint that shaped everything: it had to be a desktop app that a business could install and use straight away, without running its own servers, hiring an IT team or sending staff data to the cloud.

What I built

I built the whole product, from the screens managers use every day down to the rules that decide who earns what.

  • A badge system with real rules. Work is organised into processes, and each process contains tasks. Each task has its own sub-badges, earned by completing it a set number of times. Each process has core badges with levels, earned by collecting enough of the sub-badges under them. The app works all of this out automatically whenever a task is marked as done.
  • Progress emails that motivate. When someone earns a badge, they get an email with the badge artwork built in, showing what they earned and what is coming next (“3/5 progress”). Managers and employees also get project progress updates, so recognition does not depend on someone remembering to say well done.
  • Everything a manager needs to run it. Managers can set up companies, roles, projects and project teams, and design their own badges and icons. Staff can be imported in bulk from a CSV file, and the employee list can be exported to Excel.
  • A setup a non-technical person can do. On first launch the app prepares its own database and walks the user through setup. After that, staff stay signed in until they choose to log out.

The result

  • A cross-platform desktop app that installs like any other program on Windows, macOS and Linux.
  • All company and staff data stays on the customer’s own computer. There is no server to run, pay for or secure.
  • A recognition system that runs itself. Once the badges are designed, earning them and the emails that follow happen automatically.

For the technically minded

Electron with React and TypeScript, built with electron-vite and packaged with electron-builder. The data lives in a local SQLite database through better-sqlite3 and Drizzle ORM, with Zod validation on both sides of the IPC bridge. Database migrations ship inside the app and run on first launch. I moved the app from its original SQLite driver to better-sqlite3 to fix transaction problems in the badge-awarding logic, where one task completion can award several badges at once. The interface uses TanStack Query and Table, React Hook Form, Zustand and shadcn/ui on Tailwind. Nodemailer sends the HTML emails over SMTP, with badge icons embedded inline. PapaParse and SheetJS handle CSV import and Excel export.

Role and timeline

Software engineer, January 2025 to March 2025.

What this involved

  • Desktop app
  • Gamification
  • Offline-first
  • Windows + macOS + Linux

Got a problem like this one?

Tell me the problem in plain English. I will tell you honestly whether I can help, and what it would take. No obligation.

Prefer email? immilon27@gmail.com