Skip to content
Home/Projects/Furniture E-Commerce Platform
ENGINEERING PROJECT2025
ENGINEERING PROJECT • 2025

Furniture E-Commerce Platform

Dual-application platform featuring MongoDB ACID checkout transactions, atomic inventory updates, cursor-based Redis cache invalidation, and a catalog-grounded AI shopping assistant.

Designed and built an end-to-end e-commerce platform with decoupled customer storefront and seller/admin applications. Emphasized transactional consistency, idempotent payment workflows, non-blocking cache synchronization, and natural-language product discovery.

Next.jsTypeScriptMongoDBMongooseRedisRazorpayGroq AIZodTailwind CSSZustand
Systems Engineering

Architecture & Implementation Depth

Core distributed systems patterns, database transactions, and cache consistency.

Dual Application Architecture

Architected decoupled customer and seller/admin portals with clean domain services, repository-based data access patterns, and strictly validated Zod API boundaries across both layers.

Atomic Checkout & ACID Sessions

Guaranteed zero inventory overselling using MongoDB multi-document ACID transactions with atomic bulkWrite stock decrements. Combined with idempotent Razorpay HMAC-SHA256 webhook processing to prevent double fulfillment.

Distributed Redis Caching with SCAN

Engineered an Upstash Redis caching layer with cursor-based, non-blocking SCAN invalidation, ensuring immediate catalog synchronization between seller updates and the customer storefront without server blocking.

Catalog-Grounded AI Shopping Assistant

Implemented natural-language search, fuzzy query matching, autocomplete, and a catalog-grounded Groq AI assistant that provides contextual furniture recommendations based strictly on available database inventory.

Capabilities

Key Features & Workflows

End-to-end functionality across customer and administrative portals.

Storefront & Cart

Responsive catalog browsing, dynamic price filtering, and cart state synchronized with server inventory.

Atomic Checkout

Server-side price verification, order generation, and Razorpay gateway integration.

Seller & Admin Portal

Role-based access control (RBAC) allowing sellers to manage their items and admins to supervise all orders.

Idempotent Webhooks

HMAC signature verification with transaction idempotency keys to handle duplicate or replayed payment events.

AI Product Discovery

Conversational assistant grounded in live product data to help shoppers match furniture to room dimensions.

Optimized Media

Cloudinary CDN image optimization pipeline for rapid thumbnail delivery across mobile and desktop.

Problem Solving

Technical Trade-offs & Solutions

Difficult edge cases encountered and engineered during development.

Preventing inventory race conditions during concurrent user checkout on low-stock items.
Resolution: Wrapped the checkout pipeline inside MongoDB multi-document ACID transaction sessions, issuing conditional bulkWrite updates that fail fast if stock drops below requested quantity.
Stale product data on the storefront after seller inventory updates without blocking Redis with KEYS command.
Resolution: Implemented a non-blocking cursor-based SCAN invalidation algorithm that chunks key sweeps in the background and flushes affected cache tags within milliseconds.
Visual Evidence

Interface & Experience Screenshots

Production captures of customer catalog, cart, checkout, and admin platform.

Furniture E-Commerce Platform screenshot 1
Expand
Furniture E-Commerce Platform screenshot 2
Expand
Furniture E-Commerce Platform screenshot 3
Expand
Furniture E-Commerce Platform screenshot 4
Expand
Furniture E-Commerce Platform screenshot 5
Expand
Furniture E-Commerce Platform screenshot 6
Expand
Furniture E-Commerce Platform screenshot 7
Expand
Furniture E-Commerce Platform screenshot 8
Expand