/02 Feb 2026 · Solo · Full-stack ● Shipped

BusinessHub.

An AI-driven ERP for retail — 100,000+ records, dual-layer inventory, Z-Score anomaly detection, and a local Llama 3.1 assistant grounded in real data.

Python 3.13FastAPISQLAlchemyPydantic v2PostgreSQLRedis / CeleryReact 19Vite 8Tailwind CSSFramer MotionOllama (Llama 3.1)

Overview

BusinessHub is a high-performance ERP suite engineered for modern retail scale. It manages complex dual-layer inventory (Shop Shelf + Storeroom), streamlined customer relations, and automated billing.

Unlike traditional ERPs, BusinessHub integrates a private, local LLM (Llama 3.1) that acts as a Business Intelligence assistant — answering complex queries grounded strictly in live database records to eliminate AI hallucinations.

Pre-loaded with 100,000+ realistic Indian retail records (2019–2026). The system features a built-in ML engine providing 7-day sales forecasting, IoT-enabled stock tracking, and advanced Z-Score anomaly detection.

Highlights

What it actually does well.

01

Zero-Hallucination AI

A custom-anchored Ollama (Llama 3.1 8B) assistant that provides data-driven insights. It pulls live snapshots into its context window and refuses to guess on missing data.

02

IoT Sensor Mesh

Simulated RFID/Weight sensor integration that captures gram-accurate readings to automatically sync physical shop-shelf stock with the digital ledger.

03

Dual-Layer Inventory

Separate tracking of shop-shelf and storeroom stock. Managers can seamlessly "teleport" stock to the front, preventing false out-of-stock alerts.

04

Enterprise Billing & B2B Rails

Debounced SKU matching, INR formatting, Net 30/60 terms, RTGS transfers, and pixel-perfect PDF invoice generation.

Walkthrough

12 screens, end to end.

Executive Dashboard
01 — Executive Dashboard

The command center.

A high-level visual summary of retail health. Real-time KPIs — Total Lifetime Sales, Net Profit — and interactive Recharts breaking down Revenue by Region and Customer Segment across 100,000+ data points.

Authentication & RBAC
02 — Auth & RBAC

Hardened from login down.

JWT architecture with strict Multi-Tenancy Isolation. Four granular permission tiers, bcrypt hashing, an Idempotency Layer to prevent duplicate billing, and a comprehensive Audit Log.

Quick navigation
03 — High-Velocity Nav

Built for power users.

Bypass traditional pagination. A High-Velocity Jump Layer lets managers teleport to any data slice instantly, speeding up deep-data lookups during busy retail hours.

AI assistant
04 — AI Business Intelligence

An LLM that refuses to guess.

Grounded LLM architecture running locally on Ollama (Llama 3.1 8B). Anchored strictly to live database snapshots, providing natural-language reasoning without the risk of fabricated figures.

Live system testing
05 — Live system testing

Sensor simulation, no lab needed.

A built-in Live Test Surface for simulating complex hardware interactions. Pushes simulated sensor readings — like shelf weight drops — directly into the live ERP to test continuous integration without physical setups.

IoT monitor
06 — IoT monitor

The smart-shelf ecosystem.

Monitors a network of Edge Nodes, tracking signal strength and battery health. Captures gram-accurate weight readings, automatically translating weight drops into unit sales and triggering restock alerts.

Inventory view
07 — Inventory

Shelf and store-room, separate.

Splits tracking between the front-of-house Shop Shelf and back-end Store-Room. Visual traffic-light alerts, instant sorting, and a restock bridge to eliminate ghost inventory.

Store room
08 — Store-Room

The logistics hub.

Backend logistical hub. Manages bulk supplier intake and total asset visibility. Triggers internal restocks to the shop floor before issuing unnecessary supplier reorders.

Orders history
09 — Orders

Big data, flagged for fraud.

Deep archive of 100,000+ orders tracking end-to-end fulfillment. A built-in Z-Score Anomaly Detector actively flags outlier transactions — like impossible profit margins — to protect against fraud.

Billing engine
10 — Billing engine

Receipts that don't lie.

Enterprise-grade financial flow with debounced inventory matching. Fully localized for India (INR, taxes) and backed by a relational model ensuring historical snapshots never change even if prices update.

B2B payment
11 — B2B financial rails

Corporate credit, first-class.

Natively supports corporate credit and settlement cycles. Net 30/60 terms, high-value RTGS/NEFT wire transfers, and Letters of Credit integrated with formal Purchase Orders.

Bill printing
12 — Print engine

Pixel-perfect receipts.

Transforms digital order data into high-fidelity receipts. Layout optimized via CSS media queries for both standard laser and thermal printers, capturing immutable transaction snapshots.

Next project
PharmaCare
Theme