richmond.dev

Wed Jun 03 2026

Tristock Inventory SystemTristock Inventory System

Tristock Inventory System

Website - https://tristock-inventory-system.vercel.app/GitHub - https://github.com/Watuulo-Richard/tristock-inventory-system

Next.js

TypeScript

PostgreSQL

Prisma

TailwindCSS

Vercel

A modern, full-stack multi-shop inventory and point-of-sale management platform built for Ugandan businesses. Built with Next.js, TypeScript, PostgreSQL (Neon), and Prisma to unify inventory, sales, HR, and finance across multiple shop locations.

What is Tristock?

Tristock Inventory System Homepage

Products

1. Inventory & POS Platform

Tristock is a unified multi-shop management platform that orchestrates inventory, point-of-sale, HR, and finance operations for modern Ugandan businesses. It replaces disconnected spreadsheets and fragmented software with a single system that works across all shop locations in real time.

website

Features

  • Responsive design with dark/light theme toggle
  • Real-time inventory tracking across multiple shop branches
  • Point-of-sale with MTN MoMo, Airtel Money, cash, bank transfer, and credit card support
  • Low-stock alerts with configurable minimum stock levels
  • Serial number, batch tracking, and expiry date management (FEFO logic)
  • Sales orders, customer accounts, discounts, and professional invoicing
  • HR module: employee clock-in/out, grace periods, late detection, and department management
  • Payroll period generation and payslip management
  • Expenses, budget tracking, and claim approval workflows
  • Profit & Loss statements, real-time cash flow, and accounts receivable
  • Excel and PDF export for reports
  • Multi-branch centralized dashboard with branch-level permissions
  • Full audit trails per cashier and shop

Powered by Next.js and TypeScript

tech

User Workflow

  1. Business owner signs up and configures shop locations and product catalog
  2. Staff clock in via the HR module; permissions are assigned per role and branch
  3. Cashier processes sales through the POS with mobile money or cash payment
  4. Inventory levels update in real time; low-stock alerts trigger automatically
  5. Manager reviews branch-level sales, expenses, and stock reports from the central dashboard
  6. Finance team generates Profit & Loss statements and cash flow reports
  7. Payroll is processed per period with auto-generated payslips

How it Works

  1. Built with Next.js for server-side rendering and fast initial page loads
  2. All data is managed through a PostgreSQL (Neon) database via Prisma ORM
  3. Dynamic routes and server actions power each feature module end-to-end
  4. Mobile money integration (MTN MoMo, Airtel Money) handles POS payments natively
  5. Role-based access control enforces branch-level and feature-level permissions
  6. Excel/PDF exports are generated server-side and streamed to the client

2. Admin Dashboard

The Admin Dashboard provides a centralized control panel for managing all shop operations, users, inventory, and financial data. It is the primary interface for business owners and managers overseeing multiple branches.

Tech Stack

  • Next.js (React)
  • TypeScript
  • PostgreSQL (Neon)
  • Prisma ORM
  • Better Auth

Features of dashboard

  • Manage products, categories, units, tax rates, and serial numbers
  • CRUD operations for stock, stock batches, suppliers, and purchase orders
  • View and process sales orders and customer accounts
  • HR management: employees, departments, sessions, and payroll periods
  • Expense claims approval and budget tracking
  • Real-time analytics: revenue, cash flow, low-stock alerts
  • Branch-level reporting with Excel/PDF export
  • Full audit trail per user action

Dashboard mockup


Tech Stack

  • Frontend
    • Language: TypeScript, JavaScript
    • Framework: Next.js 14+ (React)
    • Style: TailwindCSS
    • Icons: Lucide React
  • Backend
    • Runtime: Node.js
    • API: Next.js API Routes & Server Actions
    • Database: PostgreSQL (Neon)
    • ORM: Prisma
    • Authentication: Better Auth
  • Integrations
    • Payments: MTN Mobile Money, Airtel Money
    • Exports: Excel (xlsx), PDF
  • Deployment
    • Platform: Vercel
    • CDN: Vercel Edge Network
    • Database Hosting: Neon (serverless PostgreSQL)

Open-Source and Modern Architecture

Tristock is built with modern web technologies and follows a strict layered architecture: Prisma schema → API routes → server actions → service layer → React Query hooks → Zod schemas → UI components. This separation of concerns ensures the codebase stays clean, testable, and easy to extend as new shop branches or feature modules are added. The platform is optimized for Ugandan business realities — UGX currency, local mobile money providers, and multi-branch operations.

Get Involved

If you're interested in using Tristock for your business or contributing to the project, visit the live platform to explore the features or open an issue on GitHub.

Stay Connected

Stay up-to-date with Tristock's latest features and releases:

  • Website: tristock-inventory-system.vercel.app
  • GitHub: github.com/Watuulo-Richard/tristock-inventory-system

Built for Ugandan businesses. Simplifying inventory, sales, HR, and finance — all in one place.