Projects / PRJ-NBCP-01

ShopPulse Core — High-Concurrency Multi-Vendor E-Commerce & Order Backend

Polyglot TypeScript 5 & Node.js 22 e-commerce engine with atomic Redis Lua flash-sale inventory, integer-paise Prisma ledger, and Socket.IO order tracking.

Score: 95.2% Node.js Backend Development Training Course Built by Vikramjit Gill (Chandigarh, India)
ShopPulse Core production multi-vendor order command center showing live Socket.IO order feed and Redis Lua flash-sale stock locks
Primary UI Multi-Vendor Flash-Sale & Live Seller Order Desk Socket.IO real-time marketplace order stream with Redis 7 Lua atomic flash-sale stock bars (0.00% oversell) and live seller INR payouts.
ShopPulse Core polyglot MongoDB catalog and PostgreSQL integer-paise GST settlement reconciliation console
Core Workflow Polyglot Catalog (MongoDB) & Paise GST Ledger MongoDB 7 flexible multi-category SKU schema paired with PostgreSQL + Prisma exact integer-paise CGST/SGST and TOTP-protected vendor payouts.
ShopPulse Core Node.js 22 Grafana k6 throughput chart and Zod OpenAPI 3.1 contract telemetry console
Ops & Telemetry 2,500 RPS Node.js 22 Telemetry & OpenAPI 3.1 Zod k6 2,500 RPS checkout proof (46ms P95), Zod OpenAPI 3.1 contract schema, BullMQ outbox health, and Trivy 0-CVE container scan.

Problem Statement

During festive sales and limited product drops, multi-vendor marketplaces often accidentally sell the last available item to multiple customers at once, suffer billing rounding errors on discounts and GST splits, lose payment confirmations on unreliable callbacks, and stall checkout screens while generating invoice PDFs and confirmation emails.

Solution Architecture

Architected a strictly typed Node.js 22 + TypeScript 5 + Express.js platform pairing MongoDB 7 (flexible product specs & vendor variants) with PostgreSQL 16 + Prisma 5 (ACID integer-paise order & settlement ledger). Redis Lua scripts guarantee atomic flash-sale reservations while BullMQ and Kafka Outbox handle fulfillment and live Socket.IO order updates.

Architecture Highlights

  • Node.js 22 + Strict TypeScript 5 + Express.js modular Clean Architecture with Zod validation
  • Polyglot DB: MongoDB 7 + Mongoose 8 (ESR-indexed catalog) & PostgreSQL 16 + Prisma 5 (ACID orders)
  • Redis 7 Lua atomic reservations, single-flight caching, and Socket.IO Redis Adapter pub/sub
  • BullMQ Flows + Kafka transactional outbox/DLQ for invoices, emails, and vendor payouts
  • 3-Stage Docker Compose + Nginx + PM2 + OpenTelemetry/Prometheus/Grafana + Trivy CI

Tech Stack & Metrics

Node.js 22 TypeScript 5 Express.js PostgreSQL & Prisma MongoDB 7 Redis 7 Lua BullMQ & Kafka Socket.IO Docker Compose

Verified Benchmarks

  • {"label":"Flash-Sale RPS","value":"2,500 RPS"}
  • {"label":"P95 Checkout","value":"46 ms"}
  • {"label":"Oversell Rate","value":"0.00%"}
  • {"label":"Socket Broadcast","value":"< 75 ms"}

Deployment: 3-Stage Alpine Docker Compose • Nginx Reverse Proxy • PM2 Cluster • GitHub Actions

Builder Role: Node.js & TypeScript Backend Engineer (MAA-NBCP-2026-B02)