Back to Portfolio

MiniMart - Multi-Vendor Retail & E-Commerce Platform

A multi-tenant e-commerce platform and store builder empowering retail merchants and WhatsApp sellers with integrated POS, real-time inventory, and Cash-on-Delivery fraud protection.

Category
E-Commerce & SaaS Platform
Year
2026
Duration
Production
MiniMart - Multi-Vendor Retail & E-Commerce Platform

Project Overview

A cloud-based multi-tenant e-commerce and retail management platform built for independent retailers and online sellers. MiniMart enables store owners to set up custom branded storefronts in under 60 seconds with 1-click WhatsApp order checkout, real-time POS inventory synchronization, and a 5-stage order fulfillment workflow. It also includes an automated Cash-on-Delivery (COD) verification system that checks buyer reliability to reduce fake orders and costly courier returns.

Key Features

Instant branded storefront creation with custom slug routing (minimarthub.com/store/[slug])

5-Stage visual order fulfillment pipeline (New → Confirmed → Processing → Dispatched → Delivered)

Automated Cash-on-Delivery (COD) risk verification to flag fake orders and serial parcel rejectors

1-Click WhatsApp commerce checkout generating pre-formatted receipts and order slips

Unified Point of Sale (POS) and online store with synchronized real-time inventory management

Interactive store locator map built with Leaflet and OpenStreetMap

Live order tracking for customers with automated digital invoice downloads

Net profit dashboard that automatically calculates product costs, delivery fees, and margins

Challenges & Solutions

COD Parcel Returns & Courier Losses

Cash-on-Delivery sellers face significant losses when buyers reject deliveries at the door, incurring two-way courier shipping expenses.

Developed an order risk-scoring service that checks phone number verification history and delivery success records to flag high-risk buyers before orders are dispatched.

Multi-Tenant Data Isolation & Routing

Maintaining strict data boundaries and fast database queries across multiple store tenants, staff accounts, and admin panels.

Implemented tenant-aware middleware with PostgreSQL indexing and Prisma query filters scoped to store IDs, combined with an in-memory Redis caching layer for instantaneous slug resolution and session validation.

Zero-FOUC Streaming SSR & Mobile Performance

Next.js App Router streaming suspended chunks before external CSS finished downloading over cellular networks, causing transient layout shifts and unstyled input states.

Inlined critical styles for fallback states, optimized stylesheet loading in the root layout, and configured image priority, achieving a 97+ desktop performance score and 100/100 SEO rating.

Engineering Write-ups & Architecture

Next Project

Saleto - Enterprise Fleet & Driver Settlement Platform

Saleto - Enterprise Fleet & Driver Settlement Platform

A full-stack fleet lifecycle and automated driver financial settlement platform built with Next.js 16 (Turbopack), NestJS 11, PostgreSQL 17, Redis 8, and Prisma v8 Contract Migrations.

View Project