Usman Arif
Home Work › BarqiBazar

local shop POS → online marketplace with delivery · Retail tech · Point of sale · Q-Commerce / On-demand delivery

BarqiBazar

One platform that takes a local shop from an offline-first POS to an online store with its own delivery fleet — desktop POS, CouchDB catalog sync, customer + rider apps, and four operations portals.

barqibazar.org

BarqiBazar — local shop POS → online marketplace with delivery screenshot
Client
BarqiBazar — all-in-one commerce platform for local retailers (POS + online store + delivery)
Industry
Retail tech · Point of sale · Q-Commerce / On-demand delivery
Timeline
8+ months · ongoing
Role
Backend architecture & full-stack — offline-first POS sync, microservices, portals, mobile APIs

Problem

Local shops had no affordable way to run their business and sell online at the same time. Off-the-shelf POS software was offline-only and disconnected from any marketplace, and delivery apps carried a separate, hand-typed catalog that drifted out of sync with what was actually on the shelf. There was no bridge from a shop with a cash counter to a store selling online across the city — no franchise → store → rider hierarchy, no automated way to assign deliveries, and no wallet or ledger to move money safely.

Solution

I built BarqiBazar as a franchise-based, multi-tenant commerce platform with three connected layers a merchant adopts in order. Layer 1 is an offline-first desktop POS that runs the whole shop — products, customers, suppliers, orders and profit & loss — working with or without internet and syncing to the cloud via CouchDB replication. Layer 2 is a catalog-sync pipeline: a dedicated NestJS ingestion service with per-store, runtime-configurable data sources pushes the merchant's real catalog live, so the shelf and the online storefront are one product truth — no re-typing, no drift. Layer 3 is the marketplace + delivery: shoppers browse city-scoped stores in a React Native app, each order becomes a delivery job auto-matched to nearby riders with a secure OTP handoff, and an in-house wallet + cash-on-delivery ledger settles money to store, rider and franchise with concurrency-safe, authorization-hardened guards. Independent NestJS microservices — identity/IAM, core operations, orders + bidding, wallet/ledger, catalog ingestion and notifications — each own their PostgreSQL database via Prisma and talk over a RabbitMQ event bus behind a gateway, with staff running the whole network from four role-based portals.

Key features

Technology

NestJSTypeScriptPrismaPostgreSQLCouchDBRedisRabbitMQFirebase AuthReactNext.jsReact NativeDocker

Results

Want something like BarqiBazar?

Usman Arif builds production web, mobile and POS systems for teams worldwide.

usman.professional01@gmail.com