← Work index

Independent work · Live

Shubh Bazaar: from storefront to fulfilment

Building the commerce flow end to end, including the parts behind checkout.

Freelance / side project60-second overview

My role End-to-end product design and development, with AI assistance

Context

I built a commerce platform covering the catalogue, product variants, inventory, checkout, payments, and order management. This was a side/freelance project I owned myself, with AI assistance.

Decision

I treated payment verification and shipment booking as separate workflows, so a fulfilment retry would not undo a successful payment.

Outcome

The site is live, with PhonePe payments, Shiprocket fulfilment, product administration, and customer tracking. This case describes the implementation; it makes no sales or customer-volume claim.

Visit Shubh Bazaar
Festive clothing artwork from the Shubh Bazaar storefront
Shubh Bazaar · project artwork

Evidence & scope

The project code includes server-side payment reconciliation, shipment booking, caching, administration, checkout and tracking. The artwork and code excerpt on this page come from the project.

Payment reconciliation · excerpt from project code
if (order.payment_status === "paid") {
  return {
    paymentStatus: "paid",
    state: "COMPLETED",
    changed: false
  };
}

A recorded payment success is preserved when checked again.

A closer look

Open the parts you want to explore.

Make payment status dependable

A gateway completion must match the stored amount. Once payment is recorded as paid, subsequent checks preserve that state. Shipment booking requires confirmed payment and records failures for retry.

Work through the operational details

The implementation includes inventory and variants, an administration area, map-based address selection, storefront caching, and tracking. It combines React/TypeScript, Supabase/Postgres, Cloudflare R2, and external APIs.

What I took from it

My main lessons were in system design, caching, shipping quickly, and owning the complete experience. Getting a page working was one step; making the flows behind it consistent took more thought.

Source notes

My project clarification and supplied implementation. The artwork is a storefront asset, not a screenshot of a live order. The payment system has not been independently audited for this portfolio.