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



