Skip to content
Full Stack·2024·Client

E-Commerce Platform

Headless commerce with Stripe & real-time inventory

Role

Full Stack

Duration

3 months

Team

2 engineers

Deliverable

Production Platform

E-Commerce Platform preview
The Challenge

The Problem

A merchant needed a fast storefront with Stripe checkout, but Shopify's transaction fees were eroding margins on high-volume SKUs.

The Outcome

Impact & Results

Custom headless build increased conversion by 22% (faster LCP) and eliminated 2.9% transaction fees, saving ~$18k/year.

Overview

System & Product Architecture

A headless commerce build replacing a fee-heavy Shopify store: a statically-rendered Next.js storefront backed by a custom catalog and order API, with Stripe handling payments directly. Inventory updates propagate to the storefront in real time so flash-sale SKUs never oversell, and the entire funnel was tuned for Core Web Vitals.

Capabilities

Key Engineered Features

01

Statically rendered product pages with ISR for instant loads

02

Direct Stripe checkout — no platform transaction fees

03

Real-time inventory sync to prevent overselling

04

Admin panel for catalog, orders, discounts, and refunds

05

Abandoned-cart recovery emails

Engineering

Edge Cases & Hard Technical Problems

Complex scenarios solved through careful concurrency control, schema modeling, and fault-tolerant system design.

1

Race conditions on the last unit of a flash-sale SKU — inventory is reserved atomically at checkout start and released if payment isn't completed in 10 minutes

2

Stripe webhook retries arriving out of order (refund before charge confirmation); handlers are idempotent and state transitions are validated

3

Currency rounding on multi-item discounts so the sum of line items always equals the charged total

4

Guest checkout carts merging cleanly when the user logs in mid-purchase

Stack

Technologies & Infrastructure

Next.jsNode.jsMongoDBStripeTailwind CSSResendCloudinary

Architecture Breakdown

  • Next.js storefront with Tailwind CSS, deployed on Vercel
  • Node.js order/catalog API with MongoDB
  • Stripe Payments + webhooks for the full payment lifecycle
  • Cloudinary for product image optimization
  • Resend for transactional and cart-recovery email
Gallery

Platform Screenshots

E-Commerce Platform screenshot 2
E-Commerce Platform screenshot 3

Contact

Have a product to build? Let's make it happen.

Open to full-time roles, contract engagements and product partnerships. The fastest way to reach me is email — I reply to every serious enquiry.

GitHub
Visit ↗
LinkedIn
Visit ↗
Based in
Rajshahi, Bangladesh