Back to projects
Desktop Workstation App for a National Agricultural Authority
Government & Infrastructure

Desktop Workstation App for a National Agricultural Authority

Electron desktop application for a national agricultural authority — installed on field workstations, talks to a hosted Next.js API, generates PDFs, and exports CSV / Excel data offline-friendly.

ElectronReactMUITailwind CSSNext.jsAWS AmplifyExpressMongoDBReact PDFxlsxZustandWebpack

Overview

Overview

Two-part system for a national agricultural authority: an Electron desktop app installed on field workstations and a hosted Next.js API the desktop app talks to. The desktop side handles the day-to-day operator workflow (pin-protected login, data entry, PDF documents, CSV exports); the API side handles persistence, business rules, and any web-only admin views.

What I built

  • Electron desktop app packaged with electron-forge, built and distributed as native installers for Windows / macOS / Linux
  • MUI-based desktop UI with @mui/x-date-pickers, @zag-js/pin-input for PIN-based login, react-router-dom for in-app navigation
  • PDF generation via @react-pdf/renderer for official documents
  • Data export: react-csv, xlsx, file-saver for operator-driven extracts
  • Hosted Next.js API (raot-api) on AWS Amplify with Express + Mongoose endpoints — same stack as the rest of the portfolio, just deployed as a back-end-only service this time
  • Direct MongoDB driver usage in places where the desktop app needed read access without going through the API
Desktop Workstation App for a National Agricultural Authority — krittimet.dev