The platform is a multi-tenant Office IT inventory and asset lifecycle SaaS built for companies that need to track every device from purchase to handover, repair, and write-off. Engineered with Go (Chi), Next.js 16 (React 19), and PostgreSQL 18 with row-level security, it replaces spreadsheets and paper handover slips with a double-entry stock ledger, digital signature custody, a repair lifecycle, and finance-ready reporting.
About This Project
The platform is delivered as a two-portal system: an Admin portal for platform operators (SuperAdmin) and a Client Office IT portal for each tenant company. Client IT managers handle stock, custody, repairs, and finance records, while employees see only the devices assigned to them. The two portals are strictly separated, so a SuperAdmin is never confused with a client IT manager.
Problem
Office IT teams typically manage hardware with disconnected tools, which leads to recurring problems:
- No Reliable Stock Trail: Without a movement ledger, it is hard to know what is on hand, reserved, assigned, faulty, or in repair.
- Unproven Device Handovers: Paper or verbal handovers leave no signed record of who received which device and when.
- Repairs and Vendor Costs Lost: Faulty devices sent to vendors are hard to track, along with their cost and ticket references.
- Buying Without Proof of Existing Inventory: Finance managers lack a clear record of what was bought, given to staff, sent for repair, or still in store before approving new purchases.
- Slow Setup and Tenant Risk: Bulk-loading existing assets is manual, and shared systems risk mixing data between client organisations.
Solution
We built a tenant-isolated, Dockerized platform around a ledger-based stock engine and an auditable custody flow:
- Double-Entry Stock Ledger: Two-sided stock moves (from → to location) across physical store, custody, vendor, scrap, and customer locations, with nightly or on-demand reconciliation via a River worker.
- Custody & Signature Flow: Select product → capture employee ID and department → digital signature → checkout to Staff Custody → audit certificate.
- Repair Lifecycle: Faulty → At vendor (with cost / ticket ref) → Restored or Scrapped, with stock updated at each stage.
- Finance Record: Bought → given to staff → faulty / vendor spend → still in store, with KPI pack and CSV / PDF / email export to the finance manager.
- Go + Chi API Backend: Versioned REST (/api/v1) with JWT sessions, Argon2id + Bcrypt hashing, and RFC 7807 error responses.
- Next.js 16 Frontend: Route-based screens for stock-in, finance, contacts, bulk import, custom fields, and employee self-service.
- PostgreSQL 18 Multi-Tenancy: Row-level security with a per-request tenant context (
SET LOCAL app.org_id) keeps each organisation's data isolated.
Key Features
- New Stock Received: Vendor delivery / PO reference, confirm and add units to store, receipt history with export.
- Finance Record Dashboard: KPI pack with CSV / PDF / email delivery to the finance manager.
- Staff & Vendor Management: Office staff accounts plus repair and hardware vendors in one place.
- Bulk Import: Excel / CSV import with dry-run validation before data is committed.
- Custom Fields: Dynamic attribute schema configurable per tenant.
- Staff Home: Each employee sees the devices assigned to them at
/my-assets. - Stock Alerts & Summaries: On-hand, reserved, available, assigned, faulty, and in-repair summaries with OUT_OF_STOCK, BUFFER_ALERT, and LOW_STOCK alerts.
- Admin Portal: Client organisation provisioning, license / plan management (trial extend, suspend), platform telemetry and diagnostics, and a platform audit log with export.
- Layered Security: RBAC, OWASP security headers, IP rate limiting, body size limits, and input hardening against negative costs, XSS in names, and overselling.
- Dockerized Stack: Containerised services for the Go backend, Next.js frontend, PostgreSQL, and cache.
Results
- Signed Custody Trail: Every handover is captured with a digital signature and an audit-ready certificate.
- Protected Stock Accuracy: Negative stock is blocked (422), zero or negative quantities are rejected, and idempotency keys prevent duplicate moves.
- Full Repair Visibility: Faulty devices, vendor tickets, costs, restorations, and write-offs are tracked end to end.
- Finance Proof Before Buying: Managers can show previous inventory and spend before approving new purchases.
- Strong Tenant Isolation: PostgreSQL RLS and portal boundaries keep client tokens from calling SuperAdmin APIs (403).
- Faster Onboarding: Dry-run validated bulk import and per-tenant custom fields speed up setup.
Project Info
- Category: Software Product · SaaS
- Product: Office IT Inventory / Asset Lifecycle
- Architecture: Two-portal (Admin vs Client Office IT)
- Published: 2026