prince.dev
FlutterQuick commerceRedisE-commerceCase study

Clozzet: the architecture behind 30-minute fashion delivery

By
· 1 min read

In short

Clozzet is a quick-commerce fashion app that promises delivery in 30 minutes. I built buyer and seller apps in Flutter with a Node.js, MongoDB and Redis backend. Orders are routed to the nearest fulfilment hub, stock is synced in real time, and delivery partners are tracked on a map until the order arrives. It also handles returns, size exchanges and flash sales.

Thirty minutes is an architecture decision

You cannot deliver a shirt in 30 minutes from a central warehouse. Clozzet keeps stock in small fulfilment hubs close to customers, and the software's job is to always pick the right hub and never sell something that is not on the shelf.

The moving parts

  • User app for browsing and ordering, and a seller app for catalog and inventory.
  • An order orchestrator that routes each order to the nearest hub with stock.
  • An inventory service that syncs stock in real time, with Redis for fast reads.
  • Rider dispatch and live delivery partner tracking using the Maps API.
  • A notification bus that keeps the buyer, seller and rider updated.

Returns and exchanges

Fashion means sizes, and sizes mean exchanges. Returns and size exchanges are built into the order flow from the start, using the same hubs and riders as a normal delivery.

Similar real-time dispatch powers my ride apps: see Vayu.

ClozzetSee features, stack and store links

Keep reading

Have a project in mind?

Let's ship it.