Galle, LK--:--5/6 sites live
Enterprise

Enterprise Inventory Management System

Full-stack Prisma, Node.js, Express, React, and React Native inventory control, expense auditing, and stock logistics system.

Private repository
Enterprise Inventory Management System

Overview

An enterprise-grade, multi-platform inventory management solution engineered for warehouses, retail chains, and supply chain operators. The platform provides real-time stock tracking across multiple facilities, automated purchase order generation, expense auditing, traffic-guarded REST APIs, and a companion mobile app for barcode scanning and warehouse floor stock takes.

Design decisions

The choices that shaped the system, and why.

  1. 1

    TrafficGuard Custom Middleware

    Wrote custom token-bucket rate limiting and concurrency locking to prevent race-condition overselling during flash inventory sales.

  2. 2

    Prisma Relational Modeling

    Ensured strict end-to-end TypeScript type synchronization between PostgreSQL schemas and frontend React query hooks.

Architecture

Backend Microservice

TypeScript Express API guarded by custom `trafficGuard` rate-limiting and JWT authentication middleware.

Prisma ORM Data Modeling

High-integrity relational schema modeling products, sales orders, purchase shipments, expense categories, and warehouse bins.

Cross-Platform Client Tier

Web administration portal (React) and mobile warehouse companion (React Native).

Audit Logging

Immutable tracking of every stock movement, quantity adjustment, and staff transaction.

DevOps & deployment

Dockerized microservices ready for AWS ECS Fargate + Amazon RDS PostgreSQL, or Google Cloud Run + Cloud SQL.

How it ships · Docker Compose: client + server + PostgreSQL

  1. 1docker compose up
  2. 2Prisma migrate on server start
  3. 3React client served separately
How I ship my projects

Features

  • Real-time stock level monitoring with low-inventory automated triggers.
  • Multi-facility warehouse transfer tracking and supplier management.
  • Comprehensive expense auditing with category breakdowns and profit margin analysis.
  • Containerized deployment with pre-configured database seeds.