InvenTrack SG
Inventory, field service and sales management platform for Singapore service businesses — stock control, service jobs with technician attendance, quotations, sales orders and GST tax invoices across web, mobile and desktop.
Overview
InvenTrack SG is a multi-user business platform built for Singapore service companies. It covers the full operational loop — inventory with stock movement history and reorder alerts, scheduled service jobs with parts usage and GPS-verified technician check-in/out, and a sales pipeline from quotation to sales order to GST tax invoice and payment. A Fastify + Prisma API on PostgreSQL enforces every business rule inside database transactions, while a React web app, a React Native (Expo) phone app and an Electron desktop app share the same domain types, GST maths, permissions and printable documents.
Key Achievements
- Built a complete Quotation → Sales Order → Invoice → Payment document flow with GST, discounts, partial payments (PayNow, bank transfer) and printable tax invoices
- Guaranteed stock integrity under concurrency — conditional updates backed by CHECK constraints so stock can never go below zero
- Allocated per-type, per-year document numbers (QT-2026-0001 …) atomically and prevented duplicate live invoices with unique indexes
- Designed role-based access (Admin, Manager, Accounts, Technician) enforced entirely on the API, with JWT sessions in httpOnly cookies and rate-limited login
- Shipped a React Native field app with GPS attendance, barcode/QR stock scanning and PDF service reports, sharing core logic with the web app
- Packaged the web app as a sandboxed Electron desktop app for Windows, macOS and Linux with keychain-encrypted sign-in tokens
- Automated Android, iOS and desktop builds through GitHub Actions and EAS, with Docker-based server deployment
InvenTrack SG
Inventory, field service and sales management for Singapore service businesses: stock control, service jobs with technician attendance, quotations, sales orders and GST tax invoices. It's a multi-user system with a PostgreSQL database and role-based sign-in.
Modules
| Module | What it does |
|---|---|
| --- | --- |
| Dashboard | Live KPIs, revenue by month, receivables ageing, upcoming jobs, overdue invoices, reorder list |
| Inventory | Items with SKU, cost and selling price; stock in/out with movement history; reorder alerts |
| Service Jobs | Schedule jobs, record parts used, mark complete (deducts stock), print service reports, bill the job |
| Attendance | Technician check in/out with optional GPS, live "on site now" board, timesheets with CSV export |
| Quotations | Line items, discounts, GST; Draft → Sent → Accepted/Rejected; convert to sales order or invoice |
| Sales Orders | Confirm, fulfil (all-or-nothing stock deduction) and invoice |
| Invoices | Draft → Issued → Paid/Overdue/Void; partial payments; printable tax invoice |
Roles
| Role | Can |
|---|---|
| --- | --- |
| Admin | Everything, including users and company settings |
| Manager | All operations, sales and invoicing |
| Accounts | Customers, quotations, sales orders, invoices and payments |
| Technician | See jobs and stock; update and check in/out of their own jobs only |
Data Integrity
Architecture
In production the API also serves the built web app — one process, one port.